Re-encrypting a Bucket's Data Encryption Keys
To encrypt and decrypt all the data encryption keys with the same, most recent version of the assigned master encryption key, you can re-encrypt the bucket in Object Storage.
For more information, see Encrypting Data.
The Work Requests Details dialog box that displays information about the work request, including the percentage completed and the work request ID. You can copy the work request ID to monitor the request status later.
This is the command used to re-encrypt a bucket:
oci os bucket reencrypt --name <bucket_name>
For example:
oci os bucket reencrypt --name MyBucket
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
When accessing the Object Storage API, the bucket name is used with the Object Storage namespace name to form the request URL:
ReencryptBucketn/<object_storage_namespace>/b/<bucket>
Note
Two key properties are worthy of mention in the payload for CreateBucket and UpdateBucket APIs:
publicAccessType
property controls whether the bucket is private or public and limits the capability to list public bucket contents.objectEventsEnabled
property controls if events are emitted for the objects in this bucket.