8000 Add an option to patch boto to support ecs-server mode of aws-vault by ryan-lane · Pull Request #109 · lyft/metadataproxy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add an option to patch boto to support ecs-server mode of aws-vault #109

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

Merged
merged 5 commits into from
May 20, 2021

Conversation

ryan-lane
Copy link
Contributor

aws-vault supports running as an ecs-server, which runs on a random port, on localhost, with a required token. It puts the URL into the environment, and metadataproxy will use that URL, if it's set in the environment. However, docker for mac only allows access to the host through a special hostname. Botocore limits access to a hardcoded set of hostnames and IPs for the URL.

This change patches botocore to inject a provided hostname, if it's set in the environment.

@dschaller dschaller merged commit 0c09033 into lyft:master May 20, 2021
@ryan-lane ryan-lane deleted the aws-vault-ecs-server branch May 21, 2021 00:30
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.

3 participants
0