Ensure rotation for customer created CMKs is enabled

2.8 Logging (AWS CIS Benchmark).


The AWS Key Management Service (KMS) allows customers to rotate the backing key. The backing key is key material stored within the KMS and is tied to the key ID of the Customer Created Customer Master Key (CMK). It is the backing key that is used to perform cryptographic operations such as encryption and decryption.

Automated key rotation currently retains all prior backing keys so that decryption of encrypted data can take place transparently.

It is recommended that CMK key rotation be enabled.

Enable customer-created CMK rotation via the AWS Management Console

Step 1. Log in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/iam.

Step 2. In the left navigation pane, click on Encryption Keys.

Step 3. Select a customer-created master key (CMK).

Step 4. Under the "Key Policy" section, move down to "Key Rotation.""

Step 5. Check the "Rotate this key every year" checkbox.

Enable customer-created CMK rotation via CLI

Run the following command:

aws kms enable-key-rotation --key-id <kms_key_id>