Ensure that KMS key has key rotation enabled

KMS supports rotation for symmetric keys. If you are dealing with a symmetric key, then enabling key rotations adds an extra layer of security.

Risk Level: Low
Cloud Entity: AWS Key Management Service (KMS)
CloudGuard Rule ID: D9.CFT.CRY.12
Covered by Spectral: Yes
Category: Security, Identity, & Compliance


AWS_KMS_Key where KeySpec isEmpty() or KeySpec='SYMMETRIC_DEFAULT' should have EnableKeyRotation=true


From CFT
Set AWS::KMS::Key EnableKeyRotation property for a symmetric kms key to 'true'


  1. https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html
  2. https://docs.aws.amazon.com/cli/latest/reference/kms/enable-key-rotation.html

AWS Key Management Service (KMS)

AWS Key Management Service (KMS) is a managed service that makes it easy for you to create and control the encryption keys used to encrypt your data, and uses FIPS 140-2 validated hardware security modules to protect the security of your keys. AWS Key Management Service is integrated with most other AWS services to help you protect the data you store with these services. AWS Key Management Service is also integrated with AWS CloudTrail to provide you with logs of all key usage to help meet your regulatory and compliance needs.

Compliance Frameworks

  • AWS CloudFormation ruleset