2 Answers
- Newest
- Most votes
- Most comments
0
I did notice what seems like an extraneous character in your command after "--key test.pdf" there is a "`" character.
aws s3api put-object --bucket abc --sse-customer-algorithm AES256 --sse-customer-key "testaes256testaes256testaes25612" --sse-customer-key-md5 "ezatpv/Yg0KkjX+5ZcsxdQ==" --region us-east-1 --key test.pdf ` --body C:\test.pdf
The error you got back specifically highlights this character as well.
+ aws s3api put-object `
answered 2 years ago
0
Thanks for the reply. You wouldn't have known this, but I'm using powershell.... the "`" being a new line seperation in the input. I've since tried another S3 compatible system with the same failed result. Also fails in windows and linux.
answered 2 years ago
Relevant content
- Accepted Answerasked a month ago
- Accepted Answerasked a year ago
- I tried to delete my ACM certificate but received an error that it's in use with other AWS resourcesAWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- I can't use Amazon EC2 Auto Scaling to launch EC2 instances with encrypted AMIs or encrypted volumesAWS OFFICIALUpdated 8 months ago