Skip to content

Commit

Permalink
feat(encryption): add kms key management
Browse files Browse the repository at this point in the history
  • Loading branch information
yujingwei committed Dec 25, 2023
1 parent c513aad commit c4c2d97
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/replica/replica_stub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,7 @@ DSN_DECLARE_int32(gc_interval_ms);
DSN_DECLARE_string(data_dirs);
DSN_DEFINE_group_validator(encrypt_data_at_rest_pre_check, [](std::string &message) -> bool {
if (!dsn::security::FLAGS_enable_acl && FLAGS_encrypt_data_at_rest) {
message = fmt::format("[security] enable_acl = ({}) [pegasus.server] encrypt_data_at_rest"
"= ({}),should both be true at the same time.",
dsn::security::FLAGS_enable_acl,
FLAGS_encrypt_data_at_rest);
message = fmt::format("[pegasus.server] encrypt_data_at_rest should be enabled only if [security] enable_acl is enabled.");
return false;
}
return true;
Expand Down

0 comments on commit c4c2d97

Please sign in to comment.