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

Support AWS IMDSv2 #306

Open
mwylde opened this issue Sep 12, 2023 · 1 comment
Open

Support AWS IMDSv2 #306

mwylde opened this issue Sep 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mwylde
Copy link
Member

mwylde commented Sep 12, 2023

IMDSv2 (instance metadata service) is a new, more secure mechanism to get instance metadata from an EC2 instance: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-metadata-v2-how-it-works.html. Unlike IMDSv1 which is just an endpoint that returns metadata from a GET request, v2 is a session-based protocol that requires creating a token, then using it to read the metadata.

Rusoto does not support v2 (rusoto/rusoto#1818) and is unlikely to, given that it is in maintenance mode.

A couple of possible options:

@mwylde mwylde added the enhancement New feature or request label Sep 12, 2023
@harshit2283
Copy link
Contributor

We should think about moving to official AWS SDK for Rust, not sure about the reliability though

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

No branches or pull requests

2 participants