KMS Key rotation when using RDS created by CloudFormation

0

We wish to enable KMS encryption at rest for our RDS instances, along with automatic (or manual) key rotation. When creating the RDS with CloudFormation, if you provide a KMS key alias it immediately resolves to the underlying key. If the key alias then points to a different key, the RDS instance will not be correctly rotated. As the KmsKeyId parameter is one that requires replacement, it is impossible to rotate KMS keys for RDS at all as long as it is managed by CloudFormation.

I have found this open issue of someone having a similar issue: https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/1307

Is there a recommended way to enable KMS key rotation for RDS instances created by CloudFormation?

1 個回答
0

I suggest looking into the automatic key rotation feature within KMS: https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html

AWS
已回答 10 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南