Description

Ensure every Object Storage bucket that holds sensitive data is encrypted with a customer-managed master encryption key from OCI Vault, instead of the default Oracle-managed key. This gives the organization control over the key's rotation, access, and lifecycle.

Rationale

Oracle-managed keys protect data at rest, but the organization cannot control who uses the key, when it is rotated, or disable it in an emergency. A customer-managed key lets you enforce your own rotation schedule, limit key use with IAM policies, and revoke access to the data by disabling the key.

Impact

  • Gives control over key rotation and access

  • Allows access to data to be revoked by disabling the key

  • Disabling or deleting the key makes the data unreadable

Default Value

By default, buckets are encrypted with an Oracle-managed key.

Pre-Requisites

  • Permission to manage buckets and to use keys in the vault

  • A vault with a symmetric AES master encryption key

  • Make sure an IAM policy allows the storage service to use the key, for example: Allow service objectstorage-<region>, blockstorage, FssOc1Prod to use keys in compartment <vault-compartment>

Test Plan

  1. Sign in to the OCI Console at https://cloud.oracle.com.

  2. Open the navigation menu, select Storage, and under Object Storage & Archive Storage select Buckets. Choose the compartment and select the bucket.

  3. Select the Bucket information tab and check the Encryption key value under Features.

  4. If it shows Oracle-managed key, follow the implementation steps.

Implementation Steps

  1. Sign in to the OCI Console at https://cloud.oracle.com.

  2. Make sure an IAM policy allows the storage service to use the key, for example: Allow service objectstorage-<region>, blockstorage, FssOc1Prod to use keys in compartment <vault-compartment>.

  3. Open the navigation menu, select Storage, and under Object Storage & Archive Storage select Buckets. Choose the compartment and select the bucket.

  4. Next to Encryption key, select Assign (or Edit).

  5. Select the vault and master encryption key, and select Assign.

  6. Confirm that the bucket now shows the customer-managed key.

Backout Plan

  1. Sign in to the OCI Console at https://cloud.oracle.com.

  2. Open the navigation menu, select Storage, and under Object Storage & Archive Storage select Buckets. Choose the compartment and select the bucket.

  3. Next to Encryption key, select Unassign (or Edit) and return to the Oracle-managed key.

Reference