π AWS KMS Symmetric CMK Rotation is not enabled π’
- Contextual name: π Symmetric CMK Rotation is not enabled π’
- ID:
/ce/ca/aws/kms/symmetric-cmk-rotation
- Located in: π AWS KMS
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
RELIABILITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-4d6fee7a
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-4d6fee7a | 1 |
Logicβ
- π§ prod.logic.yaml π’
- π AWS KMS Key
- π AWS KMS Key - object.extracts.yaml
- π§ͺ test-data.json
Descriptionβ
Descriptionβ
AWS Key Management Service (KMS) allows customers to rotate the backing key which is key material stored within the KMS which 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 for symmetric keys. Key rotation can not be enabled for any asymmetric CMK.
Rationaleβ
Rotating encryption keys helps reduce the potential impact of a compromised key as data encrypted with a new key cannot be accessed with a previous key that may have been exposed. Keys should be rotated every year, or upon event that would result in the compromise of that key.
Impactβ
Creation, management, and storage of CMKs may require additional time from an administrator.
Auditβ
From Consoleβ
- Sign in to the AWS Management Console and open the KMS console at: https://console.aws.amazon.com/kms.
... see more
Remediationβ
Remediationβ
From Consoleβ
- Sign in to the AWS Management Console and open the KMS console at: https://console.aws.amazon.com/kms.
- In the left navigation pane, click
Customer-managed keys
.- Select a key where
Key spec = SYMMETRIC_DEFAULT
that does not have automatic rotation enabled.- Select the
Key rotation
tab.- Check the
Automatically rotate this KMS key every year
checkbox.- Click
Save
.- Repeat steps 3β6 for all customer-managed CMKs that do not have automatic rotation enabled.
From Command Lineβ
- Run the following command to enable key rotation:
aws kms enable-key-rotation --key-id <kms_key_id>