AWS || KMS for Database TDE

0

I received an email from one of our customers regarding their international locations where they are running databases on IaaS. Currently, they are storing the Transparent Data Encryption (TDE) certificate locally on the same system, which poses a security risk.

To mitigate this risk, they want to explore the option of using AWS Key Management Service (KMS) Customer Master Key (CMK) for TDE encryption instead of storing the certificate locally.

Specifically, they are asking if AWS KMS CMK can be used for TDE encryption with the following databases:

Microsoft SQL Server [ self hosted on EC2]
Oracle [ self hosted on EC2]

Could you please look into this and provide any relevant information or guidance we can share with the customer? It would be greatly appreciated if you could also share any best practices, considerations, or potential challenges we should be aware of when using AWS KMS for TDE encryption with these databases.

2 Answers
-1

Hello,

You will not be able to use KMS for TDE configuration since TDE is native engine feature and the keys have to be generated from the database itself. But you will be able to store the generated key in AWS CloudHSM. For more information, please check below documents.

  1. Oracle database transparent data encryption (TDE) with AWS CloudHSM - https://docs.aws.amazon.com/cloudhsm/latest/userguide/oracle-tde.html
  2. AWS CloudHSM Use Cases (Part One of the AWS CloudHSM Series) - https://aws.amazon.com/blogs/security/aws-cloudhsm-use-cases-part-one-of-the-aws-cloudhsm-series/
AWS
answered 10 days ago
profile picture
EXPERT
reviewed 10 days ago
  • @rePost_koushald - My response is specific to database TDE (Native engine feature). We can use KMS for encryption in RDS (EBS level) but not in database TDE configuration. In the blog link you have shared above, it is clearly mentioned that you can use KMS to encrypt the RDS (Means the EBS attached in the underlying host) but not with TDE feature which comes as native engine feature.

    For the databases hosted on EC2 also, you can use KMS to encrypt the EBS only but you cannot use KMS to configure database TDE (Native engine feature).

-1

Not sure if running DB instance on self-hosted EC2 is a requirement but RDS offers KMS integration: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Encryption.Keys.html

AWS
answered 10 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions