Remediation
Encrypt the Bucket with a Customer Managed Keyβ
Configure the affected Object Storage bucket to use a customer managed key from OCI Vault. Before applying the change, confirm that the target key is enabled and that Object Storage has permission to use it.
From Oracle Cloud Consoleβ
- Navigate to
https://cloud.oracle.com/object-storage/buckets. - Click the affected bucket under the
Nameheading. - Click
Assignnext toEncryption Key: Oracle managed key. - Select the target Vault.
- Select the target master encryption key.
- Click
Assign.
From OCI CLIβ
For each affected bucket, run:
oci os bucket update \
--namespace-name {{namespace-name}} \
--bucket-name {{bucket-name}} \
--kms-key-id {{kms-key-ocid}}
After remediation, verify that the bucket references the intended customer managed key:
oci os bucket get \
--namespace-name {{namespace-name}} \
--bucket-name {{bucket-name}} \
--query "data.\"kms-key-id\""