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

signature does not work #2

Open
kenhen93 opened this issue Aug 26, 2019 · 1 comment
Open

signature does not work #2

kenhen93 opened this issue Aug 26, 2019 · 1 comment

Comments

@kenhen93
Copy link

Hi, I am getting the following error with your proxy

"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details."

I did make some small changes to the code that I would like to offer a PR once I got it working. I changed to use AWS4Auth so it would assume the ec2 role.

auth = AWS4Auth(config.aws_credentials.access_key, config.aws_credentials.secret_key, config.aws_region, config.aws_service_name, config.aws_credentials.token)

Setting up the logging to debug I can see it is assuming the right role, so I think this more a issue with the signature and I am not that familiar with that.

@loogle18
Copy link
Owner

Hello @kenhen93,
how did you set up your credentials? Via env vars or default aws config file? Both methods can override each other and which will lead to the error you have.

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

2 participants