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

Use IMDSv2 to get instance metadata #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 17, 2022

  1. Use IMDSv2 to get instance metadata

    To improve security, AWS recommend to use IMDSv2, the session-oriented communication to get instance metadata.https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html. 
    This change is backward compatible with IMDSv1.
    Also updated the request to get the region using `placement/region` this feature was released by AWS on 2020-08-24 - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-categories.html
    rajeshfintech authored Sep 17, 2022
    Configuration menu
    Copy the full SHA
    89d6543 View commit details
    Browse the repository at this point in the history