Description
Automatic rotation periodically changes the KMS key material used for new encryption. KMS keeps previous material so existing data remains readable.
Potential impact
Without a rotation process, the key may miss an organization’s rotation schedule or audit requirements.
Remediation
Where required, set EnableKeyRotation: true on a supported symmetric encryption key with KMS-generated material. Verify the applied rotation status. Plan manual replacement for key types that do not support automatic rotation.
Examples
Both templates keep the key enabled. The second turns on rotation. Re-encrypting stored data or revoking compromised access requires separate action.
Before
yaml
Resources:
MyKey:
Type: AWS::KMS::Key
Properties:
Enabled: true
EnableKeyRotation: false
After
yaml
Resources:
MyKey:
Type: AWS::KMS::Key
Properties:
Enabled: true
EnableKeyRotation: true