Re-encrypt the data encryption keys associated with an object

POST {{baseUrl}}/n/:namespaceName/b/:bucketName/actions/reencrypt/:objectName?versionId=pGaa2j]6LE

Re-encrypts the data encryption keys that encrypt the object and its chunks. By default, when you create a bucket, the Object Storage service manages the master encryption key used to encrypt each object's data encryption keys. The encryption mechanism that you specify for the bucket applies to the objects it contains.

You can alternatively employ one of these encryption strategies for an object:

  • You can assign a key that you created and control through the Oracle Cloud Infrastructure Vault service.

  • You can encrypt an object using your own encryption key. The key you supply is known as a customer-provided encryption key (SSE-C).

Request Params

KeyDatatypeRequiredDescription
versionIdstringVersionId used to identify a particular version of the object

Request Body

{"kmsKeyId"=>"culpa est labore Ut", "sourceSseCustomerKey"=>{"algorithm"=>"AES256", "key"=>"aliquip amet nisi", "keySha256"=>"qui exercitation anim nulla"}, "sseCustomerKey"=>{"algorithm"=>"AES256", "key"=>"magna cupidatat Lorem consequat", "keySha256"=>"sit ea non id"}}

HEADERS

KeyDatatypeRequiredDescription
opc-client-request-idstringThe client request ID for tracing.
Content-Typestring
Acceptstring

RESPONSES

status: OK

""