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

feat(*): EC2 metadata credential provider support IMDSv2 #71

Merged
merged 3 commits into from
Aug 15, 2023

Conversation

windmgc
Copy link
Member

@windmgc windmgc commented Aug 8, 2023

Summary

This PR adds support for using IMDSv2 service in EC2 metadata credential provider. Manually tested with IMDSv2 optional and IMDSv2 required.

FTI-5196

This PR also adds more error handling into EC2 metadata credential provider. Ref: https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_iam-ec2.html (see the section The iam/security-credentials/[role-name] document indicates "Code":"AssumeRoleUnauthorizedAccess")

FTI-5232

@windmgc windmgc force-pushed the feat-ec2-metadata-imdsv2 branch from 6ada6e7 to 0f0e03c Compare August 8, 2023 13:09
@windmgc windmgc merged commit 2a4b052 into Kong:main Aug 15, 2023
@windmgc windmgc deleted the feat-ec2-metadata-imdsv2 branch August 15, 2023 03:17
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