An organization stores database backups in an Amazon S3 bucket. The backups are encrypted using an AWS KMS customer managed key. A new regulatory standard mandates that the encryption keys must be rotated annually. Additionally, any historical backups must be immediately re-encrypted with the new key material so that the old key material can be decommissioned and permanently deleted. Which strategy should a solutions architect recommend to meet these requirements?
- Create a new customer managed key, configure the backup system to use the new key, copy and re-encrypt the existing historical backups in Amazon S3 using the new key, and delete the old customer managed key.Answer
- BEnable automatic key rotation on the existing customer managed key, and delete the old key material version from the AWS KMS console.
- CEnable automatic key rotation on the existing customer managed key, which automatically re-encrypts all historical S3 backups with the new key version, allowing the old key version to be deleted.
- DStore the encryption key ARN as a plaintext String parameter in AWS Systems Manager Parameter Store, configure the backup application to fetch this parameter, and deploy an AWS Lambda function to update the parameter value with a new key ARN annually.
Answer
Create a new customer managed key, configure the backup system to use the new key, copy and re-encrypt the existing historical backups in Amazon S3 using the new key, and delete the old customer managed key.
The correct strategy is to create a new customer managed key, update the backup system configuration to point to it, copy and re-encrypt all existing historical backups in S3 using the new key, and then delete the old customer managed key. Since AWS KMS automatic key rotation keeps old key material to decrypt historical data and does not support deleting old key versions or automatically re-encrypting existing objects, manual rotation with active re-encryption is required to decommission the old key material.
Step-by-Step Solution
Key Concept
Manual KMS Key Rotation and Re-encryption