Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aneeskA opened this issue Jul 14, 2016 · 5 comments

Comments

@aneeskA
Copy link

aneeskA commented Jul 14, 2016

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 |
+----------------+----------------------------------------------------------------------------------------------+------------------+

@timkay
Copy link
Owner

timkay commented Jul 14, 2016

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
#112, or mute the thread
https://github.com/notifications/unsubscribe/AAD-eMNGGWlFMDt0C4_Jq8zztGoSHeeIks5qVmOkgaJpZM4JMnJ7
.

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

@aneeskA
Copy link
Author

aneeskA commented Jul 14, 2016

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

@aneeskA
Copy link
Author

aneeskA commented Jul 14, 2016

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.

@djwdjwdjwdjw
Copy link

Is there a solution to AWS4-HMAC-SHA256 with this package?

@timkay
Copy link
Owner

timkay commented Jan 29, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants