diff --git a/proto/plugin/keystore/management/v1/management.pb.go b/proto/plugin/keystore/management/v1/management.pb.go index 5d011af..f83213b 100644 --- a/proto/plugin/keystore/management/v1/management.pb.go +++ b/proto/plugin/keystore/management/v1/management.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.12 +// protoc-gen-go v1.36.11 // protoc v7.36.2 // source: plugin/keystore/management/v1/management.proto @@ -935,9 +935,14 @@ func (x *FinalizeKeystoreSetupResponse) GetErrorMessage() string { return "" } +// RenewKeystoreRequest represents the request to renew a keystore instance's underlying account. +// - The account_id field identifies the account to renew. +// - The values field carries provider-specific attributes to apply during renewal; the contents +// vary by keystore provider and are interpreted by the plugin. type RenewKeystoreRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` + Values *structpb.Struct `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -979,6 +984,13 @@ func (x *RenewKeystoreRequest) GetAccountId() string { return "" } +func (x *RenewKeystoreRequest) GetValues() *structpb.Struct { + if x != nil { + return x.Values + } + return nil +} + type RenewKeystoreResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields @@ -1085,10 +1097,11 @@ const file_plugin_keystore_management_v1_management_proto_rawDesc = "" + "\x06status\x18\x04 \x01(\x0e25.plugin.keystore.management.v1.KeystoreCreationStatusH\x00R\x06status\x88\x01\x01\x12(\n" + "\rerror_message\x18\x05 \x01(\tH\x01R\ferrorMessage\x88\x01\x01B\t\n" + "\a_statusB\x10\n" + - "\x0e_error_message\"5\n" + + "\x0e_error_message\"f\n" + "\x14RenewKeystoreRequest\x12\x1d\n" + "\n" + - "account_id\x18\x01 \x01(\tR\taccountId\"\x17\n" + + "account_id\x18\x01 \x01(\tR\taccountId\x12/\n" + + "\x06values\x18\x02 \x01(\v2\x17.google.protobuf.StructR\x06values\"\x17\n" + "\x15RenewKeystoreResponse*\xbd\x01\n" + "\x16KeystoreCreationStatus\x12(\n" + "$KEYSTORE_CREATION_STATUS_UNSPECIFIED\x10\x00\x12#\n" + @@ -1168,25 +1181,26 @@ var file_plugin_keystore_management_v1_management_proto_depIdxs = []int32{ 3, // 18: plugin.keystore.management.v1.FinalizeKeystoreSetupResponse.key_management_config:type_name -> plugin.keystore.management.v1.ManagementConfig 2, // 19: plugin.keystore.management.v1.FinalizeKeystoreSetupResponse.supported_regions:type_name -> plugin.keystore.management.v1.SupportedRegion 0, // 20: plugin.keystore.management.v1.FinalizeKeystoreSetupResponse.status:type_name -> plugin.keystore.management.v1.KeystoreCreationStatus - 4, // 21: plugin.keystore.management.v1.KeystoreProvider.CreateKeystore:input_type -> plugin.keystore.management.v1.CreateKeystoreRequest - 6, // 22: plugin.keystore.management.v1.KeystoreProvider.DeleteKeystore:input_type -> plugin.keystore.management.v1.DeleteKeystoreRequest - 8, // 23: plugin.keystore.management.v1.KeystoreProvider.GrantTrust:input_type -> plugin.keystore.management.v1.GrantTrustRequest - 10, // 24: plugin.keystore.management.v1.KeystoreProvider.RemoveTrust:input_type -> plugin.keystore.management.v1.RemoveTrustRequest - 12, // 25: plugin.keystore.management.v1.KeystoreProvider.GetKeystoreStatus:input_type -> plugin.keystore.management.v1.GetKeystoreStatusRequest - 14, // 26: plugin.keystore.management.v1.KeystoreProvider.FinalizeKeystoreSetup:input_type -> plugin.keystore.management.v1.FinalizeKeystoreSetupRequest - 16, // 27: plugin.keystore.management.v1.KeystoreProvider.RenewKeystore:input_type -> plugin.keystore.management.v1.RenewKeystoreRequest - 5, // 28: plugin.keystore.management.v1.KeystoreProvider.CreateKeystore:output_type -> plugin.keystore.management.v1.CreateKeystoreResponse - 7, // 29: plugin.keystore.management.v1.KeystoreProvider.DeleteKeystore:output_type -> plugin.keystore.management.v1.DeleteKeystoreResponse - 9, // 30: plugin.keystore.management.v1.KeystoreProvider.GrantTrust:output_type -> plugin.keystore.management.v1.GrantTrustResponse - 11, // 31: plugin.keystore.management.v1.KeystoreProvider.RemoveTrust:output_type -> plugin.keystore.management.v1.RemoveTrustResponse - 13, // 32: plugin.keystore.management.v1.KeystoreProvider.GetKeystoreStatus:output_type -> plugin.keystore.management.v1.GetKeystoreStatusResponse - 15, // 33: plugin.keystore.management.v1.KeystoreProvider.FinalizeKeystoreSetup:output_type -> plugin.keystore.management.v1.FinalizeKeystoreSetupResponse - 17, // 34: plugin.keystore.management.v1.KeystoreProvider.RenewKeystore:output_type -> plugin.keystore.management.v1.RenewKeystoreResponse - 28, // [28:35] is the sub-list for method output_type - 21, // [21:28] is the sub-list for method input_type - 21, // [21:21] is the sub-list for extension type_name - 21, // [21:21] is the sub-list for extension extendee - 0, // [0:21] is the sub-list for field type_name + 19, // 21: plugin.keystore.management.v1.RenewKeystoreRequest.values:type_name -> google.protobuf.Struct + 4, // 22: plugin.keystore.management.v1.KeystoreProvider.CreateKeystore:input_type -> plugin.keystore.management.v1.CreateKeystoreRequest + 6, // 23: plugin.keystore.management.v1.KeystoreProvider.DeleteKeystore:input_type -> plugin.keystore.management.v1.DeleteKeystoreRequest + 8, // 24: plugin.keystore.management.v1.KeystoreProvider.GrantTrust:input_type -> plugin.keystore.management.v1.GrantTrustRequest + 10, // 25: plugin.keystore.management.v1.KeystoreProvider.RemoveTrust:input_type -> plugin.keystore.management.v1.RemoveTrustRequest + 12, // 26: plugin.keystore.management.v1.KeystoreProvider.GetKeystoreStatus:input_type -> plugin.keystore.management.v1.GetKeystoreStatusRequest + 14, // 27: plugin.keystore.management.v1.KeystoreProvider.FinalizeKeystoreSetup:input_type -> plugin.keystore.management.v1.FinalizeKeystoreSetupRequest + 16, // 28: plugin.keystore.management.v1.KeystoreProvider.RenewKeystore:input_type -> plugin.keystore.management.v1.RenewKeystoreRequest + 5, // 29: plugin.keystore.management.v1.KeystoreProvider.CreateKeystore:output_type -> plugin.keystore.management.v1.CreateKeystoreResponse + 7, // 30: plugin.keystore.management.v1.KeystoreProvider.DeleteKeystore:output_type -> plugin.keystore.management.v1.DeleteKeystoreResponse + 9, // 31: plugin.keystore.management.v1.KeystoreProvider.GrantTrust:output_type -> plugin.keystore.management.v1.GrantTrustResponse + 11, // 32: plugin.keystore.management.v1.KeystoreProvider.RemoveTrust:output_type -> plugin.keystore.management.v1.RemoveTrustResponse + 13, // 33: plugin.keystore.management.v1.KeystoreProvider.GetKeystoreStatus:output_type -> plugin.keystore.management.v1.GetKeystoreStatusResponse + 15, // 34: plugin.keystore.management.v1.KeystoreProvider.FinalizeKeystoreSetup:output_type -> plugin.keystore.management.v1.FinalizeKeystoreSetupResponse + 17, // 35: plugin.keystore.management.v1.KeystoreProvider.RenewKeystore:output_type -> plugin.keystore.management.v1.RenewKeystoreResponse + 29, // [29:36] is the sub-list for method output_type + 22, // [22:29] is the sub-list for method input_type + 22, // [22:22] is the sub-list for extension type_name + 22, // [22:22] is the sub-list for extension extendee + 0, // [0:22] is the sub-list for field type_name } func init() { file_plugin_keystore_management_v1_management_proto_init() } diff --git a/proto/plugin/keystore/management/v1/management.proto b/proto/plugin/keystore/management/v1/management.proto index c539a86..9aa48f5 100644 --- a/proto/plugin/keystore/management/v1/management.proto +++ b/proto/plugin/keystore/management/v1/management.proto @@ -146,8 +146,13 @@ message FinalizeKeystoreSetupResponse { optional string error_message = 5; } +// RenewKeystoreRequest represents the request to renew a keystore instance's underlying account. +// - The account_id field identifies the account to renew. +// - The values field carries provider-specific attributes to apply during renewal; the contents +// vary by keystore provider and are interpreted by the plugin. message RenewKeystoreRequest { string account_id = 1; + google.protobuf.Struct values = 2; } message RenewKeystoreResponse {}