Ensure that Transparent Data Encryption (TDE) is using custom keys instead of automatically generated keys for the TDE protector. TDE with custom keys (also known as Customer Managed Keys) enables you to have full control over the encryption and decryption process and meet strict compliance requirements.
Transparent Data Encryption (TDE) with Customer Managed Keys (CMKs) allows user access control over TDE protector keys, i.e. decide who can access the TDE encryption keys and when. Customer Managed Keys (CMKs) are managed by Alibaba Cloud Key Management Service (KMS). KMS is a highly secure and scalable key management service that allows you to easily encrypt, store, and manage your cryptographic keys. It helps you protect your sensitive data from unauthorized access and theft.
This Knowledge Base (KB) article uses PostgreSQL as an example to show how to verify and enable Transparent Data Encryption (TDE) with Customer Managed Keys for RDS database instances. In Alibaba Cloud RDS, TDE with CMKs is also supported by MySQL and SQL Server instances.
Audit
To determine if Transparent Data Encryption (TDE) with Customer Managed Keys (CMKs) is enabled for your RDS database instances, perform the following operations:
If TDE is not available on the Data Security page, Transparent Data Encryption (TDE) is not supported by the selected RDS database instance. Check the Prerequisites section for the list of supported RDS databases.Remediation / Resolution
To enable Transparent Data Encryption (TDE) with Customer Managed Keys (CMKs) for supported Alibaba Cloud RDS database instances, perform the following operations:
References
- Alibaba Cloud Documentation
- Data security and encryption
- Overview
- Configure TDE
- Create a CMK
- Alibaba Cloud CLI Documentation
- DescribeDBInstances
- DescribeDBInstanceTDE
- ModifyDBInstanceTDE