Closed igorribeiroduarte closed 1 year ago
How was this PR tested?
How was this PR tested?
@vladzcloudius, the following tests were executed:
system_info_encryption_local
and data_encryption_local
enabled:
scylla.yaml
system_info_encryption_kmip
enabled and validated that scylla.yaml
was updated correctly.system_info_encryption_local
and data_encryption_local
enabled.system_info_encryption_local
and data_encryption_local
enabled.system_info_encryption_local
and data_encryption_local
enabled.
This PR adds the following features to the role:
Note that enabling data encryption is not part of this PR and needs to be done manually by the user.
The following tests were executed:
handle_system_keys
is set totrue
, any keys insidelocalhost_system_key_directory
will be copied tosystem_key_directory
handle_table_keys
is set totrue
, any keys insidelocalhost_table_key_directory
will be copied totable_key_directory
system_key_directory
has a different content from a key with the same name in thelocalhost_system_key_diretory
, the role will fail.table_key_directory
has a different content from a key with the same name in thelocalhost_table_key_directory
, the role will fail.system_info_encryption_local.enabled
is set totrue
, thescylla.yaml
file will be set appropriatelysystem_info_encryption_kmip.enabled
is set totrue
, thescylla.yaml
file will be set appropriatelysystem_info_encryption_kms.enabled
is set totrue
, thescylla.yaml
file will be set appropriately