@@ -217,6 +217,7 @@ type KeyMetadata struct {
217217 DataClassification string `protobuf:"bytes,14,opt,name=data_classification,json=dataClassification,proto3" json:"data_classification,omitempty"`
218218 MetadataChecksum string `protobuf:"bytes,15,opt,name=metadata_checksum,json=metadataChecksum,proto3" json:"metadata_checksum,omitempty"`
219219 AccessCount int64 `protobuf:"varint,16,opt,name=access_count,json=accessCount,proto3" json:"access_count,omitempty"`
220+ StorageType string `protobuf:"bytes,17,opt,name=storage_type,json=storageType,proto3" json:"storage_type,omitempty"`
220221 unknownFields protoimpl.UnknownFields
221222 sizeCache protoimpl.SizeCache
222223}
@@ -363,6 +364,13 @@ func (x *KeyMetadata) GetAccessCount() int64 {
363364 return 0
364365}
365366
367+ func (x * KeyMetadata ) GetStorageType () string {
368+ if x != nil {
369+ return x .StorageType
370+ }
371+ return ""
372+ }
373+
366374type KeyMaterial struct {
367375 state protoimpl.MessageState `protogen:"open.v1"`
368376 EncryptedKeyData []byte `protobuf:"bytes,1,opt,name=encrypted_key_data,json=encryptedKeyData,proto3" json:"encrypted_key_data,omitempty"`
@@ -608,7 +616,7 @@ const file_polykey_v2_common_proto_rawDesc = "" +
608616 "\x11 custom_attributes\x18 \b \x03 (\v 22.polykey.v2.AccessAttributes.CustomAttributesEntryR\x10 customAttributes\x1a C\n " +
609617 "\x15 CustomAttributesEntry\x12 \x10 \n " +
610618 "\x03 key\x18 \x01 \x01 (\t R\x03 key\x12 \x14 \n " +
611- "\x05 value\x18 \x02 \x01 (\t R\x05 value:\x02 8\x01 \" \x9c \a \n " +
619+ "\x05 value\x18 \x02 \x01 (\t R\x05 value:\x02 8\x01 \" \xbf \a \n " +
612620 "\v KeyMetadata\x12 \x15 \n " +
613621 "\x06 key_id\x18 \x01 \x01 (\t R\x05 keyId\x12 .\n " +
614622 "\b key_type\x18 \x02 \x01 (\x0e 2\x13 .polykey.v2.KeyTypeR\a keyType\x12 -\n " +
@@ -629,7 +637,8 @@ const file_polykey_v2_common_proto_rawDesc = "" +
629637 "\x04 tags\x18 \r \x03 (\v 2!.polykey.v2.KeyMetadata.TagsEntryR\x04 tags\x12 /\n " +
630638 "\x13 data_classification\x18 \x0e \x01 (\t R\x12 dataClassification\x12 +\n " +
631639 "\x11 metadata_checksum\x18 \x0f \x01 (\t R\x10 metadataChecksum\x12 !\n " +
632- "\f access_count\x18 \x10 \x01 (\x03 R\v accessCount\x1a A\n " +
640+ "\f access_count\x18 \x10 \x01 (\x03 R\v accessCount\x12 !\n " +
641+ "\f storage_type\x18 \x11 \x01 (\t R\v storageType\x1a A\n " +
633642 "\x13 AccessPoliciesEntry\x12 \x10 \n " +
634643 "\x03 key\x18 \x01 \x01 (\t R\x03 key\x12 \x14 \n " +
635644 "\x05 value\x18 \x02 \x01 (\t R\x05 value:\x02 8\x01 \x1a 7\n " +
0 commit comments