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

Generalize container credential provider #1160

Merged
merged 1 commit into from
Mar 15, 2017
Merged

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Mar 8, 2017

You can now provide a full url in addition to a relative url to retrieve credentials.
I've added hostname validation to only allow the ECS IP and localhost.
Anything else results in an exception being raised.

cc @kyleknap @JordonPhillips @stealthycoin @dstufft
cc @jasdel

@codecov-io
Copy link

codecov-io commented Mar 8, 2017

Codecov Report

Merging #1160 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1160      +/-   ##
===========================================
+ Coverage    97.95%   97.96%   +<.01%     
===========================================
  Files           45       45              
  Lines         7093     7122      +29     
===========================================
+ Hits          6948     6977      +29     
  Misses         145      145
Impacted Files Coverage Δ
botocore/utils.py 95.94% <100%> (+0.14%)
botocore/credentials.py 97.6% <100%> (+0.05%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c22946f...563667f. Read the comment docs.

You can now provide a full url in addition to a relative url.
I've added hostname validation to only allow the ECS IP and localhost.
Anything else results in an exception being raised.
Copy link
Contributor

@kyleknap kyleknap left a comment

Choose a reason for hiding this comment

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

🚢

@kyleknap
Copy link
Contributor

kyleknap commented Mar 8, 2017

You may also want to include a changelog entry before you merge. Make it an enhancement?

@jamesls jamesls merged commit 563667f into boto:develop Mar 15, 2017
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