Other Articles

Enable Key Rotation

This check ensures that automatic key rotation is enabled for AWS KMS customer-managed keys (CMKs). Regular key rotation reduces the risk of compromised encryption keys and helps meet security best practices.

Check Details

  • Resource: General
  • Check: Enable key rotation
  • Risk: Long-lived encryption keys increase exposure if compromised

Remediation via AWS Console

  1. Sign in to the AWS Management Console and open the AWS KMS console. AWS KMS Console
  2. In the left navigation panel, click Customer-managed keys. Customer managed keys
  3. Select a key with Key spec = SYMMETRIC_DEFAULT that does not have automatic rotation enabled. KMS key list
  4. Open Key material and rotations. Key material and rotations
  5. Click Edit and enable Automatic key rotation. Enable KMS key rotation
  6. Click Save changes.
  7. Repeat these steps for all customer-managed CMKs that do not have automatic rotation enabled.

Remediation via AWS CLI

  1. Log in to the AWS Management Console and click the CloudShell icon (>_) in the top-right corner. AWS CloudShell
  2. Enable automatic key rotation for the KMS key:
    
    
    aws kms enable-key-rotation --key-id <kms-key-id>
    

Replace <kms-key-id> with the actual KMS key ID or ARN.