diff --git a/proto/plugin/keystore/management/v1/management.pb.go b/proto/plugin/keystore/management/v1/management.pb.go index f83213b..1b5ca01 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.11 +// protoc-gen-go v1.36.12 // protoc v7.36.2 // source: plugin/keystore/management/v1/management.proto diff --git a/proto/plugin/keystore/operations/v1/operations.pb.go b/proto/plugin/keystore/operations/v1/operations.pb.go index b95ae9c..9293724 100644 --- a/proto/plugin/keystore/operations/v1/operations.pb.go +++ b/proto/plugin/keystore/operations/v1/operations.pb.go @@ -227,6 +227,66 @@ func (x *GetKeyRequest) GetParameters() *RequestParameters { return nil } +type ReplicaKey struct { + state protoimpl.MessageState `protogen:"open.v1"` + Arn string `protobuf:"bytes,1,opt,name=arn,proto3" json:"arn,omitempty"` // The ARN of the replica key + Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // The region where the replica key resides + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // The current status of the replica key (e.g., enabled, disabled) + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ReplicaKey) Reset() { + *x = ReplicaKey{} + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ReplicaKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicaKey) ProtoMessage() {} + +func (x *ReplicaKey) ProtoReflect() protoreflect.Message { + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplicaKey.ProtoReflect.Descriptor instead. +func (*ReplicaKey) Descriptor() ([]byte, []int) { + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{2} +} + +func (x *ReplicaKey) GetArn() string { + if x != nil { + return x.Arn + } + return "" +} + +func (x *ReplicaKey) GetRegion() string { + if x != nil { + return x.Region + } + return "" +} + +func (x *ReplicaKey) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + type GetKeyResponse struct { state protoimpl.MessageState `protogen:"open.v1"` KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The ID of the retrieved key @@ -235,13 +295,14 @@ type GetKeyResponse struct { Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"` // The intended usage of the key (e.g., encryption, signing) LatestKeyVersionId string `protobuf:"bytes,5,opt,name=latest_key_version_id,json=latestKeyVersionId,proto3" json:"latest_key_version_id,omitempty"` // The ID of the latest key version LatestRotationTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=latest_rotation_time,json=latestRotationTime,proto3,oneof" json:"latest_rotation_time,omitempty"` // The timestamp of the latest key rotation + ReplicaKeys []*ReplicaKey `protobuf:"bytes,7,rep,name=replica_keys,json=replicaKeys,proto3" json:"replica_keys,omitempty"` // Replica keys across regions, present when this is a multi-region primary key unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetKeyResponse) Reset() { *x = GetKeyResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[2] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -253,7 +314,7 @@ func (x *GetKeyResponse) String() string { func (*GetKeyResponse) ProtoMessage() {} func (x *GetKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[2] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -266,7 +327,7 @@ func (x *GetKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetKeyResponse.ProtoReflect.Descriptor instead. func (*GetKeyResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{2} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{3} } func (x *GetKeyResponse) GetKeyId() string { @@ -311,6 +372,13 @@ func (x *GetKeyResponse) GetLatestRotationTime() *timestamppb.Timestamp { return nil } +func (x *GetKeyResponse) GetReplicaKeys() []*ReplicaKey { + if x != nil { + return x.ReplicaKeys + } + return nil +} + type GetKeyVersionsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` @@ -320,7 +388,7 @@ type GetKeyVersionsRequest struct { func (x *GetKeyVersionsRequest) Reset() { *x = GetKeyVersionsRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[3] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -332,7 +400,7 @@ func (x *GetKeyVersionsRequest) String() string { func (*GetKeyVersionsRequest) ProtoMessage() {} func (x *GetKeyVersionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[3] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -345,7 +413,7 @@ func (x *GetKeyVersionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetKeyVersionsRequest.ProtoReflect.Descriptor instead. func (*GetKeyVersionsRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{3} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{4} } func (x *GetKeyVersionsRequest) GetParameters() *RequestParameters { @@ -364,7 +432,7 @@ type GetKeyVersionsResponse struct { func (x *GetKeyVersionsResponse) Reset() { *x = GetKeyVersionsResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[4] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -376,7 +444,7 @@ func (x *GetKeyVersionsResponse) String() string { func (*GetKeyVersionsResponse) ProtoMessage() {} func (x *GetKeyVersionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[4] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -389,7 +457,7 @@ func (x *GetKeyVersionsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetKeyVersionsResponse.ProtoReflect.Descriptor instead. func (*GetKeyVersionsResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{4} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{5} } func (x *GetKeyVersionsResponse) GetVersions() []*GetKeyVersionsResponse_KeyVersion { @@ -401,19 +469,20 @@ func (x *GetKeyVersionsResponse) GetVersions() []*GetKeyVersionsResponse_KeyVers // CreateKeyRequest contains parameters for key creation type CreateKeyRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Config *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - Algorithm KeyAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=plugin.keystore.operations.v1.KeyAlgorithm" json:"algorithm,omitempty"` - Id *string `protobuf:"bytes,3,opt,name=id,proto3,oneof" json:"id,omitempty"` // Optional predefined key ID - Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` // The region in which to create the key - KeyType KeyType `protobuf:"varint,5,opt,name=key_type,json=keyType,proto3,enum=plugin.keystore.operations.v1.KeyType" json:"key_type,omitempty"` // Key type (system-managed or BYOK) - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Config *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + Algorithm KeyAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=plugin.keystore.operations.v1.KeyAlgorithm" json:"algorithm,omitempty"` + Id *string `protobuf:"bytes,3,opt,name=id,proto3,oneof" json:"id,omitempty"` // Optional predefined key ID + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` // The region in which to create the key + KeyType KeyType `protobuf:"varint,5,opt,name=key_type,json=keyType,proto3,enum=plugin.keystore.operations.v1.KeyType" json:"key_type,omitempty"` // Key type (system-managed or BYOK) + ReplicaRegions []string `protobuf:"bytes,6,rep,name=replica_regions,json=replicaRegions,proto3" json:"replica_regions,omitempty"` // Additional regions where the key should be replicated + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateKeyRequest) Reset() { *x = CreateKeyRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[5] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -425,7 +494,7 @@ func (x *CreateKeyRequest) String() string { func (*CreateKeyRequest) ProtoMessage() {} func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[5] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -438,7 +507,7 @@ func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead. func (*CreateKeyRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{5} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{6} } func (x *CreateKeyRequest) GetConfig() *v1.KeystoreInstanceConfig { @@ -476,17 +545,25 @@ func (x *CreateKeyRequest) GetKeyType() KeyType { return KeyType_KEY_TYPE_UNSPECIFIED } +func (x *CreateKeyRequest) GetReplicaRegions() []string { + if x != nil { + return x.ReplicaRegions + } + return nil +} + type CreateKeyResponse struct { state protoimpl.MessageState `protogen:"open.v1"` - KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The ID of the created key - Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // The current status of the key (e.g., enabled, disabled) + KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The ID of the created key + Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // The current status of the key (e.g., enabled, disabled) + ReplicaKeys []*ReplicaKey `protobuf:"bytes,3,rep,name=replica_keys,json=replicaKeys,proto3" json:"replica_keys,omitempty"` // The replica keys created, if any unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateKeyResponse) Reset() { *x = CreateKeyResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[6] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -498,7 +575,7 @@ func (x *CreateKeyResponse) String() string { func (*CreateKeyResponse) ProtoMessage() {} func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[6] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -511,7 +588,7 @@ func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyResponse.ProtoReflect.Descriptor instead. func (*CreateKeyResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{6} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{7} } func (x *CreateKeyResponse) GetKeyId() string { @@ -528,6 +605,13 @@ func (x *CreateKeyResponse) GetStatus() string { return "" } +func (x *CreateKeyResponse) GetReplicaKeys() []*ReplicaKey { + if x != nil { + return x.ReplicaKeys + } + return nil +} + // DeleteKeyRequest contains parameters for key deletion type DeleteKeyRequest struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -539,7 +623,7 @@ type DeleteKeyRequest struct { func (x *DeleteKeyRequest) Reset() { *x = DeleteKeyRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[7] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -551,7 +635,7 @@ func (x *DeleteKeyRequest) String() string { func (*DeleteKeyRequest) ProtoMessage() {} func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[7] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -564,7 +648,7 @@ func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead. func (*DeleteKeyRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{7} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{8} } func (x *DeleteKeyRequest) GetParameters() *RequestParameters { @@ -589,7 +673,7 @@ type DeleteKeyResponse struct { func (x *DeleteKeyResponse) Reset() { *x = DeleteKeyResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[8] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -601,7 +685,7 @@ func (x *DeleteKeyResponse) String() string { func (*DeleteKeyResponse) ProtoMessage() {} func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[8] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -614,7 +698,7 @@ func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyResponse.ProtoReflect.Descriptor instead. func (*DeleteKeyResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{8} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{9} } // EnableKeyRequest contains parameters for key enablement @@ -627,7 +711,7 @@ type EnableKeyRequest struct { func (x *EnableKeyRequest) Reset() { *x = EnableKeyRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[9] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -639,7 +723,7 @@ func (x *EnableKeyRequest) String() string { func (*EnableKeyRequest) ProtoMessage() {} func (x *EnableKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[9] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -652,7 +736,7 @@ func (x *EnableKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EnableKeyRequest.ProtoReflect.Descriptor instead. func (*EnableKeyRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{9} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{10} } func (x *EnableKeyRequest) GetParameters() *RequestParameters { @@ -670,7 +754,7 @@ type EnableKeyResponse struct { func (x *EnableKeyResponse) Reset() { *x = EnableKeyResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[10] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -682,7 +766,7 @@ func (x *EnableKeyResponse) String() string { func (*EnableKeyResponse) ProtoMessage() {} func (x *EnableKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[10] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -695,7 +779,7 @@ func (x *EnableKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EnableKeyResponse.ProtoReflect.Descriptor instead. func (*EnableKeyResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{10} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{11} } // DisableKeyRequest contains parameters for key disablement @@ -708,7 +792,7 @@ type DisableKeyRequest struct { func (x *DisableKeyRequest) Reset() { *x = DisableKeyRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[11] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -720,7 +804,7 @@ func (x *DisableKeyRequest) String() string { func (*DisableKeyRequest) ProtoMessage() {} func (x *DisableKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[11] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -733,7 +817,7 @@ func (x *DisableKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableKeyRequest.ProtoReflect.Descriptor instead. func (*DisableKeyRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{11} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{12} } func (x *DisableKeyRequest) GetParameters() *RequestParameters { @@ -751,7 +835,7 @@ type DisableKeyResponse struct { func (x *DisableKeyResponse) Reset() { *x = DisableKeyResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[12] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -763,7 +847,7 @@ func (x *DisableKeyResponse) String() string { func (*DisableKeyResponse) ProtoMessage() {} func (x *DisableKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[12] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -776,7 +860,7 @@ func (x *DisableKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableKeyResponse.ProtoReflect.Descriptor instead. func (*DisableKeyResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{12} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{13} } // GetImportParametersRequest contains parameters for retrieving import parameters @@ -790,7 +874,7 @@ type GetImportParametersRequest struct { func (x *GetImportParametersRequest) Reset() { *x = GetImportParametersRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[13] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -802,7 +886,7 @@ func (x *GetImportParametersRequest) String() string { func (*GetImportParametersRequest) ProtoMessage() {} func (x *GetImportParametersRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[13] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -815,7 +899,7 @@ func (x *GetImportParametersRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetImportParametersRequest.ProtoReflect.Descriptor instead. func (*GetImportParametersRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{13} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{14} } func (x *GetImportParametersRequest) GetParameters() *RequestParameters { @@ -843,7 +927,7 @@ type GetImportParametersResponse struct { func (x *GetImportParametersResponse) Reset() { *x = GetImportParametersResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[14] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -855,7 +939,7 @@ func (x *GetImportParametersResponse) String() string { func (*GetImportParametersResponse) ProtoMessage() {} func (x *GetImportParametersResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[14] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -868,7 +952,7 @@ func (x *GetImportParametersResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetImportParametersResponse.ProtoReflect.Descriptor instead. func (*GetImportParametersResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{14} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{15} } func (x *GetImportParametersResponse) GetKeyId() string { @@ -897,7 +981,7 @@ type ImportKeyMaterialRequest struct { func (x *ImportKeyMaterialRequest) Reset() { *x = ImportKeyMaterialRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[15] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -909,7 +993,7 @@ func (x *ImportKeyMaterialRequest) String() string { func (*ImportKeyMaterialRequest) ProtoMessage() {} func (x *ImportKeyMaterialRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[15] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -922,7 +1006,7 @@ func (x *ImportKeyMaterialRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ImportKeyMaterialRequest.ProtoReflect.Descriptor instead. func (*ImportKeyMaterialRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{15} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{16} } func (x *ImportKeyMaterialRequest) GetParameters() *RequestParameters { @@ -955,7 +1039,7 @@ type ImportKeyMaterialResponse struct { func (x *ImportKeyMaterialResponse) Reset() { *x = ImportKeyMaterialResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[16] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -967,7 +1051,7 @@ func (x *ImportKeyMaterialResponse) String() string { func (*ImportKeyMaterialResponse) ProtoMessage() {} func (x *ImportKeyMaterialResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[16] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -980,7 +1064,7 @@ func (x *ImportKeyMaterialResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ImportKeyMaterialResponse.ProtoReflect.Descriptor instead. func (*ImportKeyMaterialResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{16} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{17} } // ValidateKeyRequest contains parameters for validating key attributes @@ -996,7 +1080,7 @@ type ValidateKeyRequest struct { func (x *ValidateKeyRequest) Reset() { *x = ValidateKeyRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[17] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1008,7 +1092,7 @@ func (x *ValidateKeyRequest) String() string { func (*ValidateKeyRequest) ProtoMessage() {} func (x *ValidateKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[17] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1021,7 +1105,7 @@ func (x *ValidateKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateKeyRequest.ProtoReflect.Descriptor instead. func (*ValidateKeyRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{17} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{18} } func (x *ValidateKeyRequest) GetKeyType() KeyType { @@ -1063,7 +1147,7 @@ type ValidateKeyResponse struct { func (x *ValidateKeyResponse) Reset() { *x = ValidateKeyResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[18] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1075,7 +1159,7 @@ func (x *ValidateKeyResponse) String() string { func (*ValidateKeyResponse) ProtoMessage() {} func (x *ValidateKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[18] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1088,7 +1172,7 @@ func (x *ValidateKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateKeyResponse.ProtoReflect.Descriptor instead. func (*ValidateKeyResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{18} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{19} } func (x *ValidateKeyResponse) GetIsValid() bool { @@ -1116,7 +1200,7 @@ type ValidateKeyAccessDataRequest struct { func (x *ValidateKeyAccessDataRequest) Reset() { *x = ValidateKeyAccessDataRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[19] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1128,7 +1212,7 @@ func (x *ValidateKeyAccessDataRequest) String() string { func (*ValidateKeyAccessDataRequest) ProtoMessage() {} func (x *ValidateKeyAccessDataRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[19] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1141,7 +1225,7 @@ func (x *ValidateKeyAccessDataRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateKeyAccessDataRequest.ProtoReflect.Descriptor instead. func (*ValidateKeyAccessDataRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{19} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{20} } func (x *ValidateKeyAccessDataRequest) GetManagement() *structpb.Struct { @@ -1169,7 +1253,7 @@ type ValidateKeyAccessDataResponse struct { func (x *ValidateKeyAccessDataResponse) Reset() { *x = ValidateKeyAccessDataResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[20] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1181,7 +1265,7 @@ func (x *ValidateKeyAccessDataResponse) String() string { func (*ValidateKeyAccessDataResponse) ProtoMessage() {} func (x *ValidateKeyAccessDataResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[20] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1194,7 +1278,7 @@ func (x *ValidateKeyAccessDataResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateKeyAccessDataResponse.ProtoReflect.Descriptor instead. func (*ValidateKeyAccessDataResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{20} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{21} } func (x *ValidateKeyAccessDataResponse) GetIsValid() bool { @@ -1222,7 +1306,7 @@ type TransformCryptoAccessDataRequest struct { func (x *TransformCryptoAccessDataRequest) Reset() { *x = TransformCryptoAccessDataRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[21] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1234,7 +1318,7 @@ func (x *TransformCryptoAccessDataRequest) String() string { func (*TransformCryptoAccessDataRequest) ProtoMessage() {} func (x *TransformCryptoAccessDataRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[21] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1247,7 +1331,7 @@ func (x *TransformCryptoAccessDataRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TransformCryptoAccessDataRequest.ProtoReflect.Descriptor instead. func (*TransformCryptoAccessDataRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{21} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{22} } func (x *TransformCryptoAccessDataRequest) GetNativeKeyId() string { @@ -1274,7 +1358,7 @@ type TransformCryptoAccessDataResponse struct { func (x *TransformCryptoAccessDataResponse) Reset() { *x = TransformCryptoAccessDataResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[22] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1286,7 +1370,7 @@ func (x *TransformCryptoAccessDataResponse) String() string { func (*TransformCryptoAccessDataResponse) ProtoMessage() {} func (x *TransformCryptoAccessDataResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[22] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1299,7 +1383,7 @@ func (x *TransformCryptoAccessDataResponse) ProtoReflect() protoreflect.Message // Deprecated: Use TransformCryptoAccessDataResponse.ProtoReflect.Descriptor instead. func (*TransformCryptoAccessDataResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{22} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{23} } func (x *TransformCryptoAccessDataResponse) GetTransformedAccessData() map[string][]byte { @@ -1320,7 +1404,7 @@ type ExtractKeyRegionRequest struct { func (x *ExtractKeyRegionRequest) Reset() { *x = ExtractKeyRegionRequest{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[23] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1332,7 +1416,7 @@ func (x *ExtractKeyRegionRequest) String() string { func (*ExtractKeyRegionRequest) ProtoMessage() {} func (x *ExtractKeyRegionRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[23] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1345,7 +1429,7 @@ func (x *ExtractKeyRegionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ExtractKeyRegionRequest.ProtoReflect.Descriptor instead. func (*ExtractKeyRegionRequest) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{23} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{24} } func (x *ExtractKeyRegionRequest) GetNativeKeyId() string { @@ -1372,7 +1456,7 @@ type ExtractKeyRegionResponse struct { func (x *ExtractKeyRegionResponse) Reset() { *x = ExtractKeyRegionResponse{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[24] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1384,7 +1468,7 @@ func (x *ExtractKeyRegionResponse) String() string { func (*ExtractKeyRegionResponse) ProtoMessage() {} func (x *ExtractKeyRegionResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[24] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1397,7 +1481,7 @@ func (x *ExtractKeyRegionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ExtractKeyRegionResponse.ProtoReflect.Descriptor instead. func (*ExtractKeyRegionResponse) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{24} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{25} } func (x *ExtractKeyRegionResponse) GetRegion() string { @@ -1418,7 +1502,7 @@ type GetKeyVersionsResponse_KeyVersion struct { func (x *GetKeyVersionsResponse_KeyVersion) Reset() { *x = GetKeyVersionsResponse_KeyVersion{} - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[25] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1430,7 +1514,7 @@ func (x *GetKeyVersionsResponse_KeyVersion) String() string { func (*GetKeyVersionsResponse_KeyVersion) ProtoMessage() {} func (x *GetKeyVersionsResponse_KeyVersion) ProtoReflect() protoreflect.Message { - mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[25] + mi := &file_plugin_keystore_operations_v1_operations_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1443,7 +1527,7 @@ func (x *GetKeyVersionsResponse_KeyVersion) ProtoReflect() protoreflect.Message // Deprecated: Use GetKeyVersionsResponse_KeyVersion.ProtoReflect.Descriptor instead. func (*GetKeyVersionsResponse_KeyVersion) Descriptor() ([]byte, []int) { - return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{4, 0} + return file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP(), []int{5, 0} } func (x *GetKeyVersionsResponse_KeyVersion) GetVersionId() string { @@ -1478,14 +1562,20 @@ const file_plugin_keystore_operations_v1_operations_proto_rawDesc = "" + "\rGetKeyRequest\x12P\n" + "\n" + "parameters\x18\x01 \x01(\v20.plugin.keystore.operations.v1.RequestParametersR\n" + - "parameters\"\xbf\x02\n" + + "parameters\"N\n" + + "\n" + + "ReplicaKey\x12\x10\n" + + "\x03arn\x18\x01 \x01(\tR\x03arn\x12\x16\n" + + "\x06region\x18\x02 \x01(\tR\x06region\x12\x16\n" + + "\x06status\x18\x03 \x01(\tR\x06status\"\x8d\x03\n" + "\x0eGetKeyResponse\x12\x15\n" + "\x06key_id\x18\x01 \x01(\tR\x05keyId\x12I\n" + "\talgorithm\x18\x02 \x01(\x0e2+.plugin.keystore.operations.v1.KeyAlgorithmR\talgorithm\x12\x16\n" + "\x06status\x18\x03 \x01(\tR\x06status\x12\x14\n" + "\x05usage\x18\x04 \x01(\tR\x05usage\x121\n" + "\x15latest_key_version_id\x18\x05 \x01(\tR\x12latestKeyVersionId\x12Q\n" + - "\x14latest_rotation_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampH\x00R\x12latestRotationTime\x88\x01\x01B\x17\n" + + "\x14latest_rotation_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampH\x00R\x12latestRotationTime\x88\x01\x01\x12L\n" + + "\freplica_keys\x18\a \x03(\v2).plugin.keystore.operations.v1.ReplicaKeyR\vreplicaKeysB\x17\n" + "\x15_latest_rotation_time\"i\n" + "\x15GetKeyVersionsRequest\x12P\n" + "\n" + @@ -1499,17 +1589,19 @@ const file_plugin_keystore_operations_v1_operations_proto_rawDesc = "" + "version_id\x18\x01 \x01(\tR\tversionId\x12?\n" + "\rcreation_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\fcreationTime\x12\x1b\n" + "\x06status\x18\x03 \x01(\tH\x00R\x06status\x88\x01\x01B\t\n" + - "\a_status\"\x9f\x02\n" + + "\a_status\"\xc8\x02\n" + "\x10CreateKeyRequest\x12I\n" + "\x06config\x18\x01 \x01(\v21.plugin.keystore.common.v1.KeystoreInstanceConfigR\x06config\x12I\n" + "\talgorithm\x18\x02 \x01(\x0e2+.plugin.keystore.operations.v1.KeyAlgorithmR\talgorithm\x12\x13\n" + "\x02id\x18\x03 \x01(\tH\x00R\x02id\x88\x01\x01\x12\x16\n" + "\x06region\x18\x04 \x01(\tR\x06region\x12A\n" + - "\bkey_type\x18\x05 \x01(\x0e2&.plugin.keystore.operations.v1.KeyTypeR\akeyTypeB\x05\n" + - "\x03_id\"B\n" + + "\bkey_type\x18\x05 \x01(\x0e2&.plugin.keystore.operations.v1.KeyTypeR\akeyType\x12'\n" + + "\x0freplica_regions\x18\x06 \x03(\tR\x0ereplicaRegionsB\x05\n" + + "\x03_id\"\x90\x01\n" + "\x11CreateKeyResponse\x12\x15\n" + "\x06key_id\x18\x01 \x01(\tR\x05keyId\x12\x16\n" + - "\x06status\x18\x02 \x01(\tR\x06status\"\x8c\x01\n" + + "\x06status\x18\x02 \x01(\tR\x06status\x12L\n" + + "\freplica_keys\x18\x03 \x03(\v2).plugin.keystore.operations.v1.ReplicaKeyR\vreplicaKeys\"\x8c\x01\n" + "\x10DeleteKeyRequest\x12P\n" + "\n" + "parameters\x18\x01 \x01(\v20.plugin.keystore.operations.v1.RequestParametersR\n" + @@ -1610,95 +1702,98 @@ func file_plugin_keystore_operations_v1_operations_proto_rawDescGZIP() []byte { } var file_plugin_keystore_operations_v1_operations_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_plugin_keystore_operations_v1_operations_proto_msgTypes = make([]protoimpl.MessageInfo, 27) +var file_plugin_keystore_operations_v1_operations_proto_msgTypes = make([]protoimpl.MessageInfo, 28) var file_plugin_keystore_operations_v1_operations_proto_goTypes = []any{ (KeyAlgorithm)(0), // 0: plugin.keystore.operations.v1.KeyAlgorithm (KeyType)(0), // 1: plugin.keystore.operations.v1.KeyType (*RequestParameters)(nil), // 2: plugin.keystore.operations.v1.RequestParameters (*GetKeyRequest)(nil), // 3: plugin.keystore.operations.v1.GetKeyRequest - (*GetKeyResponse)(nil), // 4: plugin.keystore.operations.v1.GetKeyResponse - (*GetKeyVersionsRequest)(nil), // 5: plugin.keystore.operations.v1.GetKeyVersionsRequest - (*GetKeyVersionsResponse)(nil), // 6: plugin.keystore.operations.v1.GetKeyVersionsResponse - (*CreateKeyRequest)(nil), // 7: plugin.keystore.operations.v1.CreateKeyRequest - (*CreateKeyResponse)(nil), // 8: plugin.keystore.operations.v1.CreateKeyResponse - (*DeleteKeyRequest)(nil), // 9: plugin.keystore.operations.v1.DeleteKeyRequest - (*DeleteKeyResponse)(nil), // 10: plugin.keystore.operations.v1.DeleteKeyResponse - (*EnableKeyRequest)(nil), // 11: plugin.keystore.operations.v1.EnableKeyRequest - (*EnableKeyResponse)(nil), // 12: plugin.keystore.operations.v1.EnableKeyResponse - (*DisableKeyRequest)(nil), // 13: plugin.keystore.operations.v1.DisableKeyRequest - (*DisableKeyResponse)(nil), // 14: plugin.keystore.operations.v1.DisableKeyResponse - (*GetImportParametersRequest)(nil), // 15: plugin.keystore.operations.v1.GetImportParametersRequest - (*GetImportParametersResponse)(nil), // 16: plugin.keystore.operations.v1.GetImportParametersResponse - (*ImportKeyMaterialRequest)(nil), // 17: plugin.keystore.operations.v1.ImportKeyMaterialRequest - (*ImportKeyMaterialResponse)(nil), // 18: plugin.keystore.operations.v1.ImportKeyMaterialResponse - (*ValidateKeyRequest)(nil), // 19: plugin.keystore.operations.v1.ValidateKeyRequest - (*ValidateKeyResponse)(nil), // 20: plugin.keystore.operations.v1.ValidateKeyResponse - (*ValidateKeyAccessDataRequest)(nil), // 21: plugin.keystore.operations.v1.ValidateKeyAccessDataRequest - (*ValidateKeyAccessDataResponse)(nil), // 22: plugin.keystore.operations.v1.ValidateKeyAccessDataResponse - (*TransformCryptoAccessDataRequest)(nil), // 23: plugin.keystore.operations.v1.TransformCryptoAccessDataRequest - (*TransformCryptoAccessDataResponse)(nil), // 24: plugin.keystore.operations.v1.TransformCryptoAccessDataResponse - (*ExtractKeyRegionRequest)(nil), // 25: plugin.keystore.operations.v1.ExtractKeyRegionRequest - (*ExtractKeyRegionResponse)(nil), // 26: plugin.keystore.operations.v1.ExtractKeyRegionResponse - (*GetKeyVersionsResponse_KeyVersion)(nil), // 27: plugin.keystore.operations.v1.GetKeyVersionsResponse.KeyVersion - nil, // 28: plugin.keystore.operations.v1.TransformCryptoAccessDataResponse.TransformedAccessDataEntry - (*v1.KeystoreInstanceConfig)(nil), // 29: plugin.keystore.common.v1.KeystoreInstanceConfig - (*timestamppb.Timestamp)(nil), // 30: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 31: google.protobuf.Struct + (*ReplicaKey)(nil), // 4: plugin.keystore.operations.v1.ReplicaKey + (*GetKeyResponse)(nil), // 5: plugin.keystore.operations.v1.GetKeyResponse + (*GetKeyVersionsRequest)(nil), // 6: plugin.keystore.operations.v1.GetKeyVersionsRequest + (*GetKeyVersionsResponse)(nil), // 7: plugin.keystore.operations.v1.GetKeyVersionsResponse + (*CreateKeyRequest)(nil), // 8: plugin.keystore.operations.v1.CreateKeyRequest + (*CreateKeyResponse)(nil), // 9: plugin.keystore.operations.v1.CreateKeyResponse + (*DeleteKeyRequest)(nil), // 10: plugin.keystore.operations.v1.DeleteKeyRequest + (*DeleteKeyResponse)(nil), // 11: plugin.keystore.operations.v1.DeleteKeyResponse + (*EnableKeyRequest)(nil), // 12: plugin.keystore.operations.v1.EnableKeyRequest + (*EnableKeyResponse)(nil), // 13: plugin.keystore.operations.v1.EnableKeyResponse + (*DisableKeyRequest)(nil), // 14: plugin.keystore.operations.v1.DisableKeyRequest + (*DisableKeyResponse)(nil), // 15: plugin.keystore.operations.v1.DisableKeyResponse + (*GetImportParametersRequest)(nil), // 16: plugin.keystore.operations.v1.GetImportParametersRequest + (*GetImportParametersResponse)(nil), // 17: plugin.keystore.operations.v1.GetImportParametersResponse + (*ImportKeyMaterialRequest)(nil), // 18: plugin.keystore.operations.v1.ImportKeyMaterialRequest + (*ImportKeyMaterialResponse)(nil), // 19: plugin.keystore.operations.v1.ImportKeyMaterialResponse + (*ValidateKeyRequest)(nil), // 20: plugin.keystore.operations.v1.ValidateKeyRequest + (*ValidateKeyResponse)(nil), // 21: plugin.keystore.operations.v1.ValidateKeyResponse + (*ValidateKeyAccessDataRequest)(nil), // 22: plugin.keystore.operations.v1.ValidateKeyAccessDataRequest + (*ValidateKeyAccessDataResponse)(nil), // 23: plugin.keystore.operations.v1.ValidateKeyAccessDataResponse + (*TransformCryptoAccessDataRequest)(nil), // 24: plugin.keystore.operations.v1.TransformCryptoAccessDataRequest + (*TransformCryptoAccessDataResponse)(nil), // 25: plugin.keystore.operations.v1.TransformCryptoAccessDataResponse + (*ExtractKeyRegionRequest)(nil), // 26: plugin.keystore.operations.v1.ExtractKeyRegionRequest + (*ExtractKeyRegionResponse)(nil), // 27: plugin.keystore.operations.v1.ExtractKeyRegionResponse + (*GetKeyVersionsResponse_KeyVersion)(nil), // 28: plugin.keystore.operations.v1.GetKeyVersionsResponse.KeyVersion + nil, // 29: plugin.keystore.operations.v1.TransformCryptoAccessDataResponse.TransformedAccessDataEntry + (*v1.KeystoreInstanceConfig)(nil), // 30: plugin.keystore.common.v1.KeystoreInstanceConfig + (*timestamppb.Timestamp)(nil), // 31: google.protobuf.Timestamp + (*structpb.Struct)(nil), // 32: google.protobuf.Struct } var file_plugin_keystore_operations_v1_operations_proto_depIdxs = []int32{ - 29, // 0: plugin.keystore.operations.v1.RequestParameters.config:type_name -> plugin.keystore.common.v1.KeystoreInstanceConfig + 30, // 0: plugin.keystore.operations.v1.RequestParameters.config:type_name -> plugin.keystore.common.v1.KeystoreInstanceConfig 2, // 1: plugin.keystore.operations.v1.GetKeyRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters 0, // 2: plugin.keystore.operations.v1.GetKeyResponse.algorithm:type_name -> plugin.keystore.operations.v1.KeyAlgorithm - 30, // 3: plugin.keystore.operations.v1.GetKeyResponse.latest_rotation_time:type_name -> google.protobuf.Timestamp - 2, // 4: plugin.keystore.operations.v1.GetKeyVersionsRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters - 27, // 5: plugin.keystore.operations.v1.GetKeyVersionsResponse.versions:type_name -> plugin.keystore.operations.v1.GetKeyVersionsResponse.KeyVersion - 29, // 6: plugin.keystore.operations.v1.CreateKeyRequest.config:type_name -> plugin.keystore.common.v1.KeystoreInstanceConfig - 0, // 7: plugin.keystore.operations.v1.CreateKeyRequest.algorithm:type_name -> plugin.keystore.operations.v1.KeyAlgorithm - 1, // 8: plugin.keystore.operations.v1.CreateKeyRequest.key_type:type_name -> plugin.keystore.operations.v1.KeyType - 2, // 9: plugin.keystore.operations.v1.DeleteKeyRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters - 2, // 10: plugin.keystore.operations.v1.EnableKeyRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters - 2, // 11: plugin.keystore.operations.v1.DisableKeyRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters - 2, // 12: plugin.keystore.operations.v1.GetImportParametersRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters - 0, // 13: plugin.keystore.operations.v1.GetImportParametersRequest.algorithm:type_name -> plugin.keystore.operations.v1.KeyAlgorithm - 31, // 14: plugin.keystore.operations.v1.GetImportParametersResponse.import_parameters:type_name -> google.protobuf.Struct - 2, // 15: plugin.keystore.operations.v1.ImportKeyMaterialRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters - 31, // 16: plugin.keystore.operations.v1.ImportKeyMaterialRequest.import_parameters:type_name -> google.protobuf.Struct - 1, // 17: plugin.keystore.operations.v1.ValidateKeyRequest.key_type:type_name -> plugin.keystore.operations.v1.KeyType - 0, // 18: plugin.keystore.operations.v1.ValidateKeyRequest.algorithm:type_name -> plugin.keystore.operations.v1.KeyAlgorithm - 31, // 19: plugin.keystore.operations.v1.ValidateKeyAccessDataRequest.management:type_name -> google.protobuf.Struct - 31, // 20: plugin.keystore.operations.v1.ValidateKeyAccessDataRequest.crypto:type_name -> google.protobuf.Struct - 28, // 21: plugin.keystore.operations.v1.TransformCryptoAccessDataResponse.transformed_access_data:type_name -> plugin.keystore.operations.v1.TransformCryptoAccessDataResponse.TransformedAccessDataEntry - 31, // 22: plugin.keystore.operations.v1.ExtractKeyRegionRequest.management_access_data:type_name -> google.protobuf.Struct - 30, // 23: plugin.keystore.operations.v1.GetKeyVersionsResponse.KeyVersion.creation_time:type_name -> google.protobuf.Timestamp - 3, // 24: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetKey:input_type -> plugin.keystore.operations.v1.GetKeyRequest - 5, // 25: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetKeyVersions:input_type -> plugin.keystore.operations.v1.GetKeyVersionsRequest - 7, // 26: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.CreateKey:input_type -> plugin.keystore.operations.v1.CreateKeyRequest - 9, // 27: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.DeleteKey:input_type -> plugin.keystore.operations.v1.DeleteKeyRequest - 11, // 28: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.EnableKey:input_type -> plugin.keystore.operations.v1.EnableKeyRequest - 13, // 29: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.DisableKey:input_type -> plugin.keystore.operations.v1.DisableKeyRequest - 15, // 30: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetImportParameters:input_type -> plugin.keystore.operations.v1.GetImportParametersRequest - 17, // 31: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ImportKeyMaterial:input_type -> plugin.keystore.operations.v1.ImportKeyMaterialRequest - 19, // 32: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ValidateKey:input_type -> plugin.keystore.operations.v1.ValidateKeyRequest - 21, // 33: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ValidateKeyAccessData:input_type -> plugin.keystore.operations.v1.ValidateKeyAccessDataRequest - 23, // 34: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.TransformCryptoAccessData:input_type -> plugin.keystore.operations.v1.TransformCryptoAccessDataRequest - 25, // 35: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ExtractKeyRegion:input_type -> plugin.keystore.operations.v1.ExtractKeyRegionRequest - 4, // 36: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetKey:output_type -> plugin.keystore.operations.v1.GetKeyResponse - 6, // 37: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetKeyVersions:output_type -> plugin.keystore.operations.v1.GetKeyVersionsResponse - 8, // 38: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.CreateKey:output_type -> plugin.keystore.operations.v1.CreateKeyResponse - 10, // 39: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.DeleteKey:output_type -> plugin.keystore.operations.v1.DeleteKeyResponse - 12, // 40: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.EnableKey:output_type -> plugin.keystore.operations.v1.EnableKeyResponse - 14, // 41: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.DisableKey:output_type -> plugin.keystore.operations.v1.DisableKeyResponse - 16, // 42: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetImportParameters:output_type -> plugin.keystore.operations.v1.GetImportParametersResponse - 18, // 43: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ImportKeyMaterial:output_type -> plugin.keystore.operations.v1.ImportKeyMaterialResponse - 20, // 44: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ValidateKey:output_type -> plugin.keystore.operations.v1.ValidateKeyResponse - 22, // 45: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ValidateKeyAccessData:output_type -> plugin.keystore.operations.v1.ValidateKeyAccessDataResponse - 24, // 46: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.TransformCryptoAccessData:output_type -> plugin.keystore.operations.v1.TransformCryptoAccessDataResponse - 26, // 47: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ExtractKeyRegion:output_type -> plugin.keystore.operations.v1.ExtractKeyRegionResponse - 36, // [36:48] is the sub-list for method output_type - 24, // [24:36] is the sub-list for method input_type - 24, // [24:24] is the sub-list for extension type_name - 24, // [24:24] is the sub-list for extension extendee - 0, // [0:24] is the sub-list for field type_name + 31, // 3: plugin.keystore.operations.v1.GetKeyResponse.latest_rotation_time:type_name -> google.protobuf.Timestamp + 4, // 4: plugin.keystore.operations.v1.GetKeyResponse.replica_keys:type_name -> plugin.keystore.operations.v1.ReplicaKey + 2, // 5: plugin.keystore.operations.v1.GetKeyVersionsRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters + 28, // 6: plugin.keystore.operations.v1.GetKeyVersionsResponse.versions:type_name -> plugin.keystore.operations.v1.GetKeyVersionsResponse.KeyVersion + 30, // 7: plugin.keystore.operations.v1.CreateKeyRequest.config:type_name -> plugin.keystore.common.v1.KeystoreInstanceConfig + 0, // 8: plugin.keystore.operations.v1.CreateKeyRequest.algorithm:type_name -> plugin.keystore.operations.v1.KeyAlgorithm + 1, // 9: plugin.keystore.operations.v1.CreateKeyRequest.key_type:type_name -> plugin.keystore.operations.v1.KeyType + 4, // 10: plugin.keystore.operations.v1.CreateKeyResponse.replica_keys:type_name -> plugin.keystore.operations.v1.ReplicaKey + 2, // 11: plugin.keystore.operations.v1.DeleteKeyRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters + 2, // 12: plugin.keystore.operations.v1.EnableKeyRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters + 2, // 13: plugin.keystore.operations.v1.DisableKeyRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters + 2, // 14: plugin.keystore.operations.v1.GetImportParametersRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters + 0, // 15: plugin.keystore.operations.v1.GetImportParametersRequest.algorithm:type_name -> plugin.keystore.operations.v1.KeyAlgorithm + 32, // 16: plugin.keystore.operations.v1.GetImportParametersResponse.import_parameters:type_name -> google.protobuf.Struct + 2, // 17: plugin.keystore.operations.v1.ImportKeyMaterialRequest.parameters:type_name -> plugin.keystore.operations.v1.RequestParameters + 32, // 18: plugin.keystore.operations.v1.ImportKeyMaterialRequest.import_parameters:type_name -> google.protobuf.Struct + 1, // 19: plugin.keystore.operations.v1.ValidateKeyRequest.key_type:type_name -> plugin.keystore.operations.v1.KeyType + 0, // 20: plugin.keystore.operations.v1.ValidateKeyRequest.algorithm:type_name -> plugin.keystore.operations.v1.KeyAlgorithm + 32, // 21: plugin.keystore.operations.v1.ValidateKeyAccessDataRequest.management:type_name -> google.protobuf.Struct + 32, // 22: plugin.keystore.operations.v1.ValidateKeyAccessDataRequest.crypto:type_name -> google.protobuf.Struct + 29, // 23: plugin.keystore.operations.v1.TransformCryptoAccessDataResponse.transformed_access_data:type_name -> plugin.keystore.operations.v1.TransformCryptoAccessDataResponse.TransformedAccessDataEntry + 32, // 24: plugin.keystore.operations.v1.ExtractKeyRegionRequest.management_access_data:type_name -> google.protobuf.Struct + 31, // 25: plugin.keystore.operations.v1.GetKeyVersionsResponse.KeyVersion.creation_time:type_name -> google.protobuf.Timestamp + 3, // 26: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetKey:input_type -> plugin.keystore.operations.v1.GetKeyRequest + 6, // 27: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetKeyVersions:input_type -> plugin.keystore.operations.v1.GetKeyVersionsRequest + 8, // 28: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.CreateKey:input_type -> plugin.keystore.operations.v1.CreateKeyRequest + 10, // 29: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.DeleteKey:input_type -> plugin.keystore.operations.v1.DeleteKeyRequest + 12, // 30: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.EnableKey:input_type -> plugin.keystore.operations.v1.EnableKeyRequest + 14, // 31: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.DisableKey:input_type -> plugin.keystore.operations.v1.DisableKeyRequest + 16, // 32: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetImportParameters:input_type -> plugin.keystore.operations.v1.GetImportParametersRequest + 18, // 33: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ImportKeyMaterial:input_type -> plugin.keystore.operations.v1.ImportKeyMaterialRequest + 20, // 34: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ValidateKey:input_type -> plugin.keystore.operations.v1.ValidateKeyRequest + 22, // 35: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ValidateKeyAccessData:input_type -> plugin.keystore.operations.v1.ValidateKeyAccessDataRequest + 24, // 36: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.TransformCryptoAccessData:input_type -> plugin.keystore.operations.v1.TransformCryptoAccessDataRequest + 26, // 37: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ExtractKeyRegion:input_type -> plugin.keystore.operations.v1.ExtractKeyRegionRequest + 5, // 38: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetKey:output_type -> plugin.keystore.operations.v1.GetKeyResponse + 7, // 39: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetKeyVersions:output_type -> plugin.keystore.operations.v1.GetKeyVersionsResponse + 9, // 40: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.CreateKey:output_type -> plugin.keystore.operations.v1.CreateKeyResponse + 11, // 41: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.DeleteKey:output_type -> plugin.keystore.operations.v1.DeleteKeyResponse + 13, // 42: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.EnableKey:output_type -> plugin.keystore.operations.v1.EnableKeyResponse + 15, // 43: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.DisableKey:output_type -> plugin.keystore.operations.v1.DisableKeyResponse + 17, // 44: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.GetImportParameters:output_type -> plugin.keystore.operations.v1.GetImportParametersResponse + 19, // 45: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ImportKeyMaterial:output_type -> plugin.keystore.operations.v1.ImportKeyMaterialResponse + 21, // 46: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ValidateKey:output_type -> plugin.keystore.operations.v1.ValidateKeyResponse + 23, // 47: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ValidateKeyAccessData:output_type -> plugin.keystore.operations.v1.ValidateKeyAccessDataResponse + 25, // 48: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.TransformCryptoAccessData:output_type -> plugin.keystore.operations.v1.TransformCryptoAccessDataResponse + 27, // 49: plugin.keystore.operations.v1.KeystoreInstanceKeyOperation.ExtractKeyRegion:output_type -> plugin.keystore.operations.v1.ExtractKeyRegionResponse + 38, // [38:50] is the sub-list for method output_type + 26, // [26:38] is the sub-list for method input_type + 26, // [26:26] is the sub-list for extension type_name + 26, // [26:26] is the sub-list for extension extendee + 0, // [0:26] is the sub-list for field type_name } func init() { file_plugin_keystore_operations_v1_operations_proto_init() } @@ -1706,17 +1801,17 @@ func file_plugin_keystore_operations_v1_operations_proto_init() { if File_plugin_keystore_operations_v1_operations_proto != nil { return } - file_plugin_keystore_operations_v1_operations_proto_msgTypes[2].OneofWrappers = []any{} - file_plugin_keystore_operations_v1_operations_proto_msgTypes[5].OneofWrappers = []any{} - file_plugin_keystore_operations_v1_operations_proto_msgTypes[7].OneofWrappers = []any{} - file_plugin_keystore_operations_v1_operations_proto_msgTypes[25].OneofWrappers = []any{} + file_plugin_keystore_operations_v1_operations_proto_msgTypes[3].OneofWrappers = []any{} + file_plugin_keystore_operations_v1_operations_proto_msgTypes[6].OneofWrappers = []any{} + file_plugin_keystore_operations_v1_operations_proto_msgTypes[8].OneofWrappers = []any{} + file_plugin_keystore_operations_v1_operations_proto_msgTypes[26].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_plugin_keystore_operations_v1_operations_proto_rawDesc), len(file_plugin_keystore_operations_v1_operations_proto_rawDesc)), NumEnums: 2, - NumMessages: 27, + NumMessages: 28, NumExtensions: 0, NumServices: 1, }, diff --git a/proto/plugin/keystore/operations/v1/operations.proto b/proto/plugin/keystore/operations/v1/operations.proto index 5bb8ef3..3782af6 100644 --- a/proto/plugin/keystore/operations/v1/operations.proto +++ b/proto/plugin/keystore/operations/v1/operations.proto @@ -76,6 +76,12 @@ message GetKeyRequest { RequestParameters parameters = 1; } +message ReplicaKey { + string arn = 1; // The ARN of the replica key + string region = 2; // The region where the replica key resides + string status = 3; // The current status of the replica key (e.g., enabled, disabled) +} + message GetKeyResponse { string key_id = 1; // The ID of the retrieved key KeyAlgorithm algorithm = 2; // The algorithm used for the key @@ -83,6 +89,7 @@ message GetKeyResponse { string usage = 4; // The intended usage of the key (e.g., encryption, signing) string latest_key_version_id = 5; // The ID of the latest key version optional google.protobuf.Timestamp latest_rotation_time = 6; // The timestamp of the latest key rotation + repeated ReplicaKey replica_keys = 7; // Replica keys across regions, present when this is a multi-region primary key } message GetKeyVersionsRequest { @@ -105,11 +112,13 @@ message CreateKeyRequest { optional string id = 3; // Optional predefined key ID string region = 4; // The region in which to create the key KeyType key_type = 5; // Key type (system-managed or BYOK) + repeated string replica_regions = 6; // Additional regions where the key should be replicated } message CreateKeyResponse { string key_id = 1; // The ID of the created key string status = 2; // The current status of the key (e.g., enabled, disabled) + repeated ReplicaKey replica_keys = 3; // The replica keys created, if any } // DeleteKeyRequest contains parameters for key deletion