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
Sign in to the OCI Console at https://cloud.oracle.com.
Open the navigation menu, select Storage, and under Object Storage & Archive Storage select Buckets. Choose the compartment and select the bucket.
Select the Bucket information tab and check the Encryption key value under Features.
If it shows Oracle-managed key, follow the implementation steps.
Implementation Steps
Sign in to the OCI Console at https://cloud.oracle.com.
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>.
Open the navigation menu, select Storage, and under Object Storage & Archive Storage select Buckets. Choose the compartment and select the bucket.
Next to Encryption key, select Assign (or Edit).
Select the vault and master encryption key, and select Assign.
Confirm that the bucket now shows the customer-managed key.
Backout Plan
Sign in to the OCI Console at https://cloud.oracle.com.
Open the navigation menu, select Storage, and under Object Storage & Archive Storage select Buckets. Choose the compartment and select the bucket.
Next to Encryption key, select Unassign (or Edit) and return to the Oracle-managed key.
Reference
https://docs.oracle.com/en-us/iaas/Content/Object/Tasks/encryption.htm
https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Concepts/keyoverview.htm