Policy: GCP > KMS > Crypto Key > Rotation
Configure automatic rotation of a GCP KMS crypto key, as defined by the GCP > KMS > Crypto Key > Rotation > * sub-policies.Enabled requires the key to rotate at least once every GCP > KMS > Crypto Key > Rotation > Period. Enforce: Enabled sets the key's rotation schedule, and a key whose current version is already older than the period rotates within an hour. Disabled requires no rotation schedule, and Enforce: Disabled removes it.
Note: Each rotation creates a new key version. Earlier versions stay enabled, so data they encrypted can still be decrypted, and each enabled version is billed until it is destroyed.
Targets
This policy targets the following resource types:
Related Policies
Controls
Setting this policy configures this control:
Policy Specification
Schema Type | |
|---|---|
Default | |
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/security
- tmod:@turbot/gcp-kms#/policy/types/cryptoKeyRotation
- turbot graphql policy-type --id "tmod:@turbot/gcp-kms#/policy/types/cryptoKeyRotation"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-kms#/policy/types/cryptoKeyRotation"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI