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

Update boto3 to support AWS EC2 IMDSv2 #6081

Closed
rodrigost23 opened this issue Jun 5, 2023 · 4 comments
Closed

Update boto3 to support AWS EC2 IMDSv2 #6081

rodrigost23 opened this issue Jun 5, 2023 · 4 comments

Comments

@rodrigost23
Copy link

Issue Summary

I'm trying to use the (apparently undocumented) ATHENA_ASSUME_ROLE option, but Redash uses an old boto3 version (< 1.11.0), which does not support IMDSv2: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide//use-a-supported-sdk-version-for-imdsv2.html

Steps to Reproduce

  1. Setup an EC2 on AWS with IMDS v2-only
  2. Try to use "assume role" in an Athena Data Source
  3. Get a "credentials not found" error

IMDSv2 is more secure and should work when using EC2 on AWS. Upgrading boto3 to 1.12.6 would be enough.

@rodrigost23
Copy link
Author

Apparently this has been addressed in #6207

@justinclift
Copy link
Member

Ahhh yep. That was a few days ago. We're very actively updating our old dependencies presently, as well as going through the list of PRs and merging/closing things as makes sense. 😄

@shuklaabhi
Copy link

Lets close this PR

@guidopetri
Copy link
Collaborator

Thanks for pointing out that this is done @shuklaabhi :)

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

No branches or pull requests

5 participants