Interview Prep/AWS/Observability, Security Services and IaC

How does KMS key rotation work?

IntermediateConceptObservability, Security Services and IaC
Answer

For symmetric customer managed keys, automatic rotation (annual by default, configurable 90 to 2,560 days) creates new backing key material while the key ID, ARN and aliases stay the same. Old material is retained to decrypt existing ciphertext, so no re-encryption is needed. AWS managed keys rotate yearly automatically; asymmetric and imported keys do not auto-rotate.

aws kms enable-key-rotation --key-id alias/app-data --rotation-period-in-days 365
aws All AWS questions

More on Observability, Security Services and IaC