π 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
- Located in: π Google KMS
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- Cloud Conformity
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
Descriptionβ
Google Cloud Key Management Service stores cryptographic keys in a hierarchical structure designed for useful and elegant access control management.
The format for the rotation schedule depends on the client library that is used. For the gcloud command-line tool, the next rotation time must be in
ISO
orRFC3339
format, and the rotation period must be in the formINTEGER[UNIT]
, where units can be one of 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 when new key versions are generated automatically. A key can also be created with a specified next rotation time. A key is a named object representing acryptographic key
used 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 some
corpus of data
. A collection of files could be encrypted with the same key and people withdecrypt
permissions on that key would be able to decrypt those files. Therefore, it's necessary to make sure therotation period
is set to a specific time.... see more
Remediationβ
Remediationβ
From Google Cloud Consoleβ
- Go to
Cryptographic Keys
by visiting: https://console.cloud.google.com/security/kms.- Click on the specific key ring
- From the list of keys, choose the specific key and Click on
Right side pop up the blade (3 dots)
.- Click on
Edit rotation period
.- On the pop-up window,
Select a new rotation period
in days which should be less than 90 and then chooseStarting on
date (date from which the rotation period begins).From Google Cloud CLIβ
Update and schedule rotation by
ROTATION_PERIOD
andNEXT_ROTATION_TIME
for 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 |
---|---|---|---|---|
πΌ CIS GCP v3.0.0 β πΌ 1.10 Ensure KMS Encryption Keys Are Rotated Within a Period of 90 Days - Level 1 (Automated) | 1 | |||
πΌ Cloudaware Framework β πΌ Expiration Management | 12 |