Skip to content

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