You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading and writing objects worked that way but copying and moving (= copy and delete) do not: the CopySourceSSECustomerKey and CopySourceSSECustomerAlgorithm are not passed to the copy operation.
If I saw it correctly, the reason is that in s3client.py:298 the property boto3_ul_extra_args is used, which ensures that all extra arguments match the list S3Transfer.ALLOWED_UPLOAD_ARGS (coming from TransferManager.ALLOWED_DOWNLOAD_ARGS). Unfortunately, the Copy* attributes are not included there but in TransferManager.ALLOWED_COPY_ARGS.
Would it be possible to use the ALLOWED_COPY_ARGS there? Or is this restricted intentionally?
The text was updated successfully, but these errors were encountered:
dw7o
changed the title
S3 move and copy operations with SSE-C
Failing S3 move and copy operations with SSE-C
Feb 7, 2025
We use S3 and SSE-C to encrypt the objects stored in the remote S3 repository.
I've initialized the
S3Client
accordingly with:Reading and writing objects worked that way but copying and moving (= copy and delete) do not: the
CopySourceSSECustomerKey
andCopySourceSSECustomerAlgorithm
are not passed to the copy operation.If I saw it correctly, the reason is that in s3client.py:298 the property
boto3_ul_extra_args
is used, which ensures that all extra arguments match the listS3Transfer.ALLOWED_UPLOAD_ARGS
(coming fromTransferManager.ALLOWED_DOWNLOAD_ARGS
). Unfortunately, theCopy*
attributes are not included there but inTransferManager.ALLOWED_COPY_ARGS
.Would it be possible to use the
ALLOWED_COPY_ARGS
there? Or is this restricted intentionally?The text was updated successfully, but these errors were encountered: