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

Honor REQUESTS_CA_BUNDLE env var in Endpoint class #203

Merged
merged 2 commits into from
Jan 9, 2014

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Jan 9, 2014

This allows users to set the path to a cert bundle.
The logic is:

  • Any explicit value passed to get_endpoint() is used
  • Otherwise use REQUESTS_CA_BUNDLE if the var exists in the env
  • Otherwise, default to true.

I'll also have to update the CLI to use this new value.

Fixes: #200

This allows users to set the path to a cert bundle.
The logic is:

* Any explicit value passed to get_endpoint() is used
* Otherwise use REQUESTS_CA_BUNDLE if the var exists in the env
* Otherwise, default to true.
@garnaat
Copy link
Member

garnaat commented Jan 9, 2014

LGTM

@jamesls
Copy link
Member Author

jamesls commented Jan 9, 2014

@garnaat Also add the verify arg to the get_endpoint method in the Service class. Mind taking another look?

@garnaat
Copy link
Member

garnaat commented Jan 9, 2014

Ship it!

@jamesls jamesls merged commit 824d36d into boto:develop Jan 9, 2014
@jamesls jamesls deleted the honor-cacert-envar branch June 23, 2014 18:19
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.

Allow cert bundle to be specified via env var
2 participants