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

fix: handle IMDSv2 auth when checking if we are running on EC2 instance #193

Merged
merged 1 commit into from
Dec 22, 2023
Merged

fix: handle IMDSv2 auth when checking if we are running on EC2 instance #193

merged 1 commit into from
Dec 22, 2023

Conversation

peter-svensson
Copy link
Contributor

Fix for #192

@4141done
Copy link
Collaborator

Hi @peter-svensson - thank you for your contribution and detailed bug report. This change looks good to me in terms of handling IMDSv2. I was initially worried that it would break IMDSv1 users but as you pointed out in the issue we use this path in a similar logic branch in the Javascript code itself.

Merging with gratitude 💚

@4141done 4141done merged commit 231fa7d into nginxinc:master Dec 22, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants