# Ensure customer-managed KMS key has rotation enabled with interval of 365 days or less

- Source: https://support.icompaas.com/support/solutions/articles/a_1790698518372770-ensure-customer-managed-kms-key-has-rotation-enabled-with-interval-of-365-days-or-less
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [Oracle Cloud](https://support.icompaas.com/support/solutions/c_1790697859097233) › [Checks](https://support.icompaas.com/support/solutions/folders/f_1790697878907807)
- Last updated: 2026-09-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Description**

Ensure every customer-managed master encryption key in OCI Vault is rotated at least every 365 days. In virtual private vaults, this should be done with automatic key rotation set to an interval of 365 days or less. In default vaults, which do not support automatic rotation, keys must be rotated manually on a schedule.

**Rationale**

The longer a key version is used, the more data it protects, and the greater the impact if it is ever exposed. Rotating keys regularly limits the amount of data encrypted under any single key version and supports compliance requirements. After rotation, new data uses the new key version while existing data can still be decrypted.

**Impact**

-   Limits how much data is protected by one key version
    
-   Supports compliance requirements for key rotation
    
-   Automatic rotation is available only in virtual private vaults
    

**Default Value**

By default, customer-managed keys are not rotated. Automatic key rotation is available only for keys in virtual private vaults, with an interval between 60 and 365 days (default 90).

**Pre-Requisites**

-   Permission to manage keys in the vault's compartment
    
-   Knowledge of whether each key is in a default vault or a virtual private vault
    

**Test Plan**

1.  Sign in to the OCI Console at [https://cloud.oracle.com](https://cloud.oracle.com/).
    
2.  Open the navigation menu, select Identity & Security, and select Vault (Key Management & Secret Management). Choose the compartment and select the vault.
    
3.  Open Master encryption keys and select each key.
    
4.  For keys in a virtual private vault, verify that auto rotation is enabled and the rotation interval is 365 days or less.
    
5.  For keys in a default vault, check the date of the current key version and confirm it is less than 365 days old.
    
6.  If a key is not rotated within 365 days, follow the implementation steps.
    

**Implementation Steps**

1.  Sign in to the OCI Console at [https://cloud.oracle.com](https://cloud.oracle.com/).
    
2.  Open the navigation menu, select Identity & Security, and select Vault. Select the vault and open Master encryption keys.
    
3.  For a key in a virtual private vault, select the key, open Actions, and select Edit auto-rotation settings. Select Auto rotation, set a start date and a rotation interval of 365 days or less, and save.
    
4.  For a key in a default vault, select the key and select Rotate key, then confirm. Set a calendar reminder or automation to repeat this at least every 365 days.
    

**Backout Plan**

1.  Sign in to the OCI Console at [https://cloud.oracle.com](https://cloud.oracle.com/).
    
2.  Open the vault, select the key, open Actions, and select Edit auto-rotation settings.
    
3.  Clear the Auto rotation checkbox, or restore the previous interval, and save. Rotated key versions remain available to decrypt existing data.
    

**Reference**

-   [https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Tasks/tasks\_tasks\_managingkeys\_topic\_edit\_auto\_key\_rotation.htm](https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Tasks/tasks_tasks_managingkeys_topic_edit_auto_key_rotation.htm)
    
-   [https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Concepts/keyoverview.htm](https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Concepts/keyoverview.htm)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
