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

[Credential] Support calls to IMDSv2 when retrieving instance credentials #1970

Open
richarddotcodes opened this issue Jan 11, 2022 · 2 comments

Comments

@richarddotcodes
Copy link

I recently ran into an issue when enforcing v2 calls to the EC2 Instance Metadata service, as Rusoto appears to only use v1 (no token) calls: https://docs.rs/rusoto_credential/latest/src/rusoto_credential/instance_metadata.rs.html#117

I'd like to submit a PR that attempts to retrieve a token before making the call, and falls back to a v1 call if a token can't be obtained. Any thoughts on this?

@wimax-grapl
Copy link

#1818 (comment)

@wimax-grapl
Copy link

tldr yes please!

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