Metadata cannot be updated for S3 object with SSE Customer Key
Applies to
NetApp StorageGRID 11.9 and lower
Issue
- When attempting to PUT an object using SSE-C, such as
$ aws s3api put-object --profile MYPROFILE --bucket MYBUCKET --endpoint-url https://my.url --key awscliv2.zip --body ./awscliv2.zip --sse-customer-algorithm AES256 --sse-customer-key fileb://my.key --metadata TESTMETA=mytest
No confirmation or error was returned.
- When attempting to replace the metadata with a Copy Object, such as:
$ aws s3api copy-object --profile MYPROFILE --bucket MYBUCKET --endpoint-url https://my.url --key awscliv2.zip --copy-source MYBUCKET/awscliv2.zip --sse-customer-algorithm AES256 --sse-customer-key fileb://my.key --copy-source-sse-customer-algorithm AES256 --copy-source-sse-customer-key fileb://my.key --metadata-directive REPLACE --metadata TESTMETA=metareplace
The following error is returned:
This results in n error occurred (InternalError) when calling the CopyObject operation (reached max retries: 2): We encountered an internal error. Please try again.
