π‘οΈ Google KMS Crypto Key is not rotated every 90 daysπ’
- Contextual name: π‘οΈ Crypto Key is not rotated every 90 daysπ’
- ID:
/ce/ca/google/kms/kms-key-rotation - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Cloud Conformity: Rotate Google Cloud KMS Keys
Descriptionβ
Descriptionβ
Google Cloud Key Management Service stores cryptographic keys in a hierarchical structure designed for consistent access control management.
The format for the rotation schedule depends on the client library used. For the gcloud CLI, the next rotation time must be in
ISOorRFC3339format, and the rotation period must be in the formINTEGER[UNIT], where units can be seconds (s), minutes (m), hours (h), or days (d).Rationaleβ
Set a key rotation period and starting time. A key can be created with a specified
rotation period, which is the time between automatic generation of new key versions. A key can also be created with a specified next rotation time. A key is a named object representing acryptographic keyused for a specific purpose. The key material, the actual bits used forencryption, can change over time as new key versions are created.A key is used to protect a set of data. A collection of files could be encrypted with the same key, and people with
decryptpermissions on that key would be able to decrypt those files. Therefore, it is necessary to make sure therotation periodis set to a specific time.... see more
Remediationβ
Remediationβ
From Google Cloud Consoleβ
- Go to
Cryptographic Keysby visiting: https://console.cloud.google.com/security/kms.- Click the specific key ring.
- From the list of keys, select the key and click the More actions menu (three dots).
- Click on
Edit rotation period.- In the dialog, select a new rotation period in days that is less than 90, then choose the
Starting ondate.From Google Cloud CLIβ
Update and schedule rotation by
ROTATION_PERIODandNEXT_ROTATION_TIMEfor each key:gcloud kms keys update new \
--keyring={{key-ring}} \
--location=LOCATION \
--next-rotation-time={{next-rotation-time}} \
--rotation-period={{rotation-period}}
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ CIS GCP v1.2.0 β πΌ 1.10 Ensure KMS encryption keys are rotated within a period of 90 days - Level 1 (Automated) | 1 | no data | |||
| πΌ CIS GCP v1.3.0 β πΌ 1.10 Ensure KMS Encryption Keys Are Rotated Within a Period of 90 Days - Level 1 (Automated) | 1 | no data | |||
| πΌ CIS GCP v2.0.0 β πΌ 1.10 Ensure KMS Encryption Keys Are Rotated Within a Period of 90 Days - Level 1 (Automated) | 1 | no data | |||
| πΌ CIS GCP v3.0.0 β πΌ 1.10 Ensure KMS Encryption Keys Are Rotated Within a Period of 90 Days - Level 1 (Automated) | 1 | no data | |||
| πΌ Cloudaware Framework β πΌ Expiration Management | 20 | no data |