aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Misko <misko.pawel@gmail.com>2024-12-04 18:55:28 +0100
committerGitHub <noreply@github.com>2024-12-04 17:55:28 +0000
commite6985bfb40ecb237206dfca8399a145fea5e1ca3 (patch)
tree3a5718e2217736a9a009134d0042a4ce65a0078c
parent4f81e5020ff9a0f164249de98dc146b525a01aec (diff)
downloadydb-e6985bfb40ecb237206dfca8399a145fea5e1ca3.tar.gz
nbs-issue-176: added EncryptedDataKey field to NKikimrBlockStore::TEncryptionDesc (#8482)
-rw-r--r--ydb/core/protos/blockstore_config.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/ydb/core/protos/blockstore_config.proto b/ydb/core/protos/blockstore_config.proto
index d29f4ba161c..f66aff78d7f 100644
--- a/ydb/core/protos/blockstore_config.proto
+++ b/ydb/core/protos/blockstore_config.proto
@@ -19,9 +19,16 @@ enum EPartitionType {
NonReplicated = 1; // directly mapped network partitions
}
+message TEncryptedDataKey
+{
+ optional string KekId = 1;
+ optional bytes Ciphertext = 2;
+};
+
message TEncryptionDesc {
optional uint32 Mode = 1;
optional bytes KeyHash = 2;
+ optional TEncryptedDataKey EncryptedDataKey = 3;
}
message TVolumeConfig {