Couldn't signin buckets with name included double dash.
pekermert opened this issue · 2 comments
pekermert commented
When i try to use buckets with name included double dash, i am getting 403 forbidden.
e.g.: my-test-bucket getting 403 but my-testbucket works well with same configuration.
I am sure about given access to buckets for my secret.
my configuration like this;
aws_access_key *****;
aws_key_scope ****;
aws_signing_key ****;
aws_s3_bucket my-test-bucket;
location ~ ^/images {
aws_sign;
proxy_pass http://my-test-bucket.s3.amazonaws.com;
}
Is there a restriction for bucket naming or is this a bug ?
rickheil commented
I don't believe it would be - I have two dashes in a bucket that I'm using in prod.
The only thing that comes to mind is that S3 will give 307s if you have a bucket in a non-US region and are not using the regional DNS name. See this forum post for an explanation.