timkay / aws

Easy command line access to Amazon EC2, S3, SQS, ELB, and SDB
http://timkay.com/aws/
426 stars 125 forks source link

S3 region Frankfurt error: The authorization mechanism you have provided is not supported #91

Closed naabster closed 9 years ago

naabster commented 9 years ago

I get the following error when I try to access a S3 bucket in the new Frankfurt region:

307 Temporary Redirect +----------------+----------------------------------------------------------------------------------------------+------------------+ | Code | Message | RequestId | +----------------+----------------------------------------------------------------------------------------------+------------------+ | InvalidRequest | The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. | 5899A2581461XXXX | +----------------+----------------------------------------------------------------------------------------------+------------------+

timkay commented 9 years ago

Try using the latest signature algorithm by adding --AWS4 to the command line.

If it works, then you can add --AWS4 to ~/.awsrc .

If it doesn't work, let me know, and we'll sort it out.

...Tim

naabster commented 9 years ago

It works with adding --AWS4 --region='eu-central-1' to the command line.

thanks!