Configuring Transparent Data Encryption for Ozone
Transparent Data Encryption (TDE) allows data on the disks to be encrypted-at-rest and automatically decrypted during access. For Ozone, you can enable TDE at the bucket-level.
- The Key Management Server must be installed and running. Ozone uses the same Key Management Server as HDFS.
- To use TDE, you (admin) must
setup a Key Management Server and provide that URI to Ozone/HDFS. You can
provide this configuration via hdfs-site.xml.
Property Value hadoop.security.key.provider.path KMS uri.e.g. kms://http@kms-host:9600/kms - If you are using Ranger Key Management Server, then you must ensure that the key
management admin user has assigned the
om
service user with the Get Metadata and Generate EEK permissions.Further, you must ensure that any user attempting to create an encryption key has the required permissions in Ranger.
Using Transparent Data Encryption from S3G
There are two ways to create an encrypted bucket that can be accessed via S3 Gateway.