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.