When I try to use s3cmd it exits with the following error:
ERROR: S3 error: 403 (SignatureDoesNotMatch)
I have tried regenerating my keys as other similar questions suggested.
I am using s3cmd version 2.0.2.
My s3cmd configuration has the following relevant options:
[default] access_key = REDACTED access_token = REDACTED ... host_base = sfo2.digitaloceanspaces.com host_bucket = %(bucket)s.sfo2.digitaloceanspaces.com
The s3cmd command I am trying to run is:
s3cmd put foo.txt s3://SPACE/ -c ./s3cmd-cfg
The space I am trying to access is in SFO2.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
I do not consider myself an expert on s3cmd, and I realize that you already have a configuration file, but can you try setting up the configuration specifically by the steps we’ve outlined here?
It may be some very small difference that is made by using those steps.