-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi,
great script, thanks a lot.
Unfortunately, we want to use custom keys which we generate on-the-fly.
Did anyone ever try to implement that?
We already changed the copyObject part to following snippet:
`
s3.copyObject({
Bucket: bucket,
Key: key,
CopySource: encodeURIComponent(bucket + '/' + key),
MetadataDirective: 'COPY',
SSECustomerAlgorithm: 'AES256',
SSECustomerKey: 'key_=_string_of_exactly_32_bytes',
SSECustomerKeyMD5: '6535256929cded9f17f06e98de723096',
StorageClass: storageClass
`
Unfortunately, JS SDK documentation doesn't state clearly in which format customer-key and md5 should be transfered. So we didn't get it running as S3 just replies with a bad request.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels