Skip to content

Commit

Permalink
issue-176: add TEncryptedDEK to the volume config (contrib/ydb)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpeye committed Aug 29, 2024
1 parent 150ea4c commit 247a265
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions contrib/ydb/core/protos/blockstore_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,19 @@ enum EPartitionType {
NonReplicated = 1; // directly mapped network partitions
}

message TEncryptedDEK {
optional string KeyId = 1;
optional string Version = 2;
};

message TEncryptionDesc {
optional uint32 Mode = 1;
optional bytes KeyHash = 2;

oneof DataKey {
TEncryptedDEK EncryptedDEK = 3;
bytes UnencryptedDEK = 4;
}
}

message TVolumeConfig {
Expand Down

0 comments on commit 247a265

Please sign in to comment.