Skip to content

Commit

Permalink
nbs-issue-176: added TEncryptedDEK field to TEncryptionDesc
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpeye committed Aug 29, 2024
1 parent bf8c633 commit 8598f86
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 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 8598f86

Please sign in to comment.