A company stores large archives in an Amazon S3 bucket. The data is encrypted at rest using an AWS KMS Customer Managed Key (CMK). A new compliance policy requires that the encryption keys be rotated annually. The security team wants to ensure that all historical data remains readable without manual intervention, while new data is encrypted using the rotated key material.
Which configuration meets these requirements with the least administrative effort?
- ACreate a new Customer Managed Key annually, associate it with the S3 bucket, and delete the older Customer Managed Key to reduce key management costs.
- Enable automatic key rotation for the existing Customer Managed Key.Cevap
- CExport the KMS key material, store it as a plaintext String parameter in AWS Systems Manager Parameter Store, and use an AWS Lambda function to rotate it annually.
- DManually create a new Customer Managed Key each year, update the S3 bucket configuration, and re-encrypt all historical data using S3 Batch Operations.
Cevap
Enable automatic key rotation for the existing Customer Managed Key.
Enabling automatic key rotation on an AWS KMS Customer Managed Key (CMK) automatically schedules rotation of the backing key material once a year. When this occurs, AWS KMS keeps all older key material active so it can decrypt any historical ciphertexts. Newly written files will automatically be encrypted using the newly generated key material. This achieves compliance with zero management overhead and zero downtime.
Adım Adım Çözüm
Anahtar Kavram
AWS KMS Automatic Key Rotation
Tahmini Süre:1m 30s