aws icon indicating copy to clipboard operation
aws copied to clipboard

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

Open aneeskA opened this issue 9 years ago • 5 comments

I am seeing this error when I try to put or delete S3 bucket when the region chosen was ap-south-1

How can I fix this issue?

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

aneeskA avatar Jul 14 '16 16:07 aneeskA

Try adding --AWS4

My preference would have been to upgrade the authorization mechanism for everybody, but Amazon didn't create an upward compatible path everywhere.

...Tim

On Thu, Jul 14, 2016 at 9:28 AM, aneeskA [email protected] wrote:

I am seeing this error when I try to put or delete S3 bucket when the region chosen was ap-south-1

How can I fix this issue?

307 Temporary Redirect

+----------------+----------------------------------------------------------------------------------------------+------------------+ | Code | Message | RequestId |

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

+----------------+----------------------------------------------------------------------------------------------+------------------+

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/timkay/aws/issues/112, or mute the thread https://github.com/notifications/unsubscribe/AAD-eMNGGWlFMDt0C4_Jq8zztGoSHeeIks5qVmOkgaJpZM4JMnJ7 .

Tim Kay m: +1-650-248-0123 Skype: timkay

timkay avatar Jul 14 '16 16:07 timkay

Thank you. I am very new to AWS. I came across Boto3 also. I am a little unsure what to use now.

aneeskA avatar Jul 14 '16 17:07 aneeskA

Update:

I used the option --AWS4 . I am getting the following error

SignatureDoesNotMatch | The request signature we calculated does not match the signature you provided. Check your key and signing method.

aneeskA avatar Jul 14 '16 17:07 aneeskA