Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to validate that data inside an RDS database is encrypted at rest?

I would like to verify that the data is encrypted in an RDS instance.

I have configured the RDS instance with the Encryption enabled: Yes, and specified an KMS key. I would really like to validate that the data is encrypted.

I have created a Snapshot of the RDS instance, and executed a simple SELECT query on the database from the command line. This profile would not contain the KMS Key, but the data was readable. Would this mean that the data is not encrypted? Or can it be decrypted with any Query, not just those with the KMS Key?

Is my encrypted AWS database really encrypted?

So far I have seen this, does that mean that enabling the Encryption at an AWS level is not enough to encrypt the data at rest?

Any advice on validating the encrypted data in the database would be greatly appreciated!

like image 440
fuzzi Avatar asked Jan 30 '26 08:01

fuzzi


1 Answers

You have to check it by verifying the snapshot. If KMS key ID has some value: it is encrypted at rest.

like image 132
Yuri Levinsky Avatar answered Jan 31 '26 22:01

Yuri Levinsky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!