Skip to content

Handle redirects when fetching AWS IAM metadata#8452

Merged
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
lavignes:fix-aws-curl-redir
Oct 2, 2019
Merged

Handle redirects when fetching AWS IAM metadata#8452
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
lavignes:fix-aws-curl-redir

Conversation

@lavignes
Copy link
Copy Markdown
Contributor

@lavignes lavignes commented Oct 1, 2019

Fixes: #8325

Description: By default cURL does not follow redirects. When fetching AWS IAM credentials, some endpoints may opt to redirect instead of handling paths with trailing slashes. In general, we should be following any redirect from these endpoints for maximum compatibility.
Risk Level: LOW

Signed-off-by: Scott LaVigne lavignes@amazon.com

Fixes: envoyproxy#8325

Signed-off-by: Scott LaVigne <lavignes@amazon.com>
@lavignes lavignes requested a review from mattklein123 as a code owner October 1, 2019 21:12
@mattklein123 mattklein123 self-assigned this Oct 1, 2019
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mattklein123 mattklein123 merged commit bb6f945 into envoyproxy:master Oct 2, 2019
danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Oct 4, 2019
Fixes: envoyproxy#8325

Signed-off-by: Scott LaVigne <lavignes@amazon.com>
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.

Could not fetch AWS metadata with KIAM

2 participants