oci-kms v5.1.0 - Check the age of KMS vaults and keys, and delete ones that are not allowed
Dec 04, 2026•GuardrailsMods
What's new?
- You can now check and enforce the age of OCI KMS vaults and keys. Set the new OCI > KMS > Vault > Active or OCI > KMS > Key > Active policy to Check: Active to alarm on a vault or key older than its Active > Age policy, or to Enforce: Delete inactive with 7 days warning (or another warning period) to schedule its deletion once the warning period ends. The policies default to Skip.
- You can now delete OCI KMS vaults and keys that are not allowed. Set OCI > KMS > Vault > Allowed > Custom or OCI > KMS > Key > Allowed > Custom to Enforce: Delete if not allowed or Enforce: Delete if not allowed and resource is new, or their Allowed > Region policy to Enforce: Delete if region not allowed or Enforce: Delete if region not allowed and resource is new. OCI deletes the vault or key 30 days later and keeps it pending deletion until then, and a vault's keys are deleted with it. The policies still default to Skip.
Control Types
Added
- OCI > KMS > Key > Active
- OCI > KMS > Vault > Active
Policy Types
Added
- OCI > KMS > Key > Active
- OCI > KMS > Key > Active > Age
- OCI > KMS > Vault > Active
- OCI > KMS > Vault > Active > Age
Action Types
Added
- OCI > KMS > Key > Delete
- OCI > KMS > Vault > Delete