Description
Ensure every boot volume 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
Boot volumes contain the operating system, applications, and often sensitive configuration and data. With a customer-managed key, you control who can use the key, enforce your own rotation schedule, and can make the volume unreadable by disabling the key if an instance is compromised or a volume copy leaks.
Impact
Gives control over key rotation and access
Allows access to the volume to be revoked by disabling the key
Disabling or deleting the key stops the instance from booting
Default Value
By default, boot volumes are encrypted with an Oracle-managed key.
Pre-Requisites
Permission to manage volumes 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 Block Storage select Boot volumes. Choose the compartment and select the boot volume.
Check the Encryption key value.
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 Block Storage select Boot volumes. Select the boot volume.
Next to Encryption key, select Assign (or Edit).
Choose the vault and master encryption key, and select Assign.
Backout Plan
Sign in to the OCI Console at https://cloud.oracle.com.
Open the boot volume, select Unassign (or Edit) next to Encryption key, and return to the Oracle-managed key.
Reference
https://docs.oracle.com/en-us/iaas/Content/Block/Concepts/blockvolumeencryption.htm
https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Concepts/keyoverview.htm