jpillora / grunt-aws

A Grunt interface into the Amazon Node.JS SDK
171 stars 44 forks source link

Does not support authentication for buckets in newer regions #33

Closed phw closed 9 years ago

phw commented 9 years ago

I have setup a bucket in the new Frankfurt location. If I try to upload to it using grunt-aws I get the following error message:

InvalidRequest: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.

According to http://stackoverflow.com/questions/26533245/the-authorization-mechanism-you-have-provided-is-not-supported-please-use-aws4 newer regions will only support AWS4-HMAC-SHA256 and older authentication methods are deprecated.

I guess this can be fixed by upgrading to the latest version of aws-sdk.

ragulka commented 9 years ago

Having the same issue here

jpillora commented 9 years ago

Happy to give someone commit access to fix this issue