CmdID

CmdID / aws / aws s3api

aws s3api update-object-encryption

This operation is not supported for directory buckets or Amazon S3 on Outposts buckets. AWS CLI reference

8 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

8 in the AWS CLI reference
--bucketThe name of the general purpose bucket that contains the specified object key name.
--checksum-algorithmIndicates the algorithm used to create the checksum for the object when you use an Amazon Web Services SDK.
--content-md5The MD5 hash for the request body.
--expected-bucket-ownerThe account ID of the expected bucket owner.
--keyThe key name of the object that you want to update the server-side encryption type for.
--object-encryptionThe updated server-side encryption type for this object.
--request-payerConfirms that the requester knows that they will be charged for the request.
--version-idThe version ID of the object that you want to update the server-side encryption type for.