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

Support aws IAM authentication #50

Merged
merged 5 commits into from Mar 31, 2021
Merged

Support aws IAM authentication #50

merged 5 commits into from Mar 31, 2021

Conversation

alexparlett
Copy link
Contributor

To sanity check on this vault does expect the iam payload values to be b64 encoded, at the moment I have left that to the consumer to understand as I didn't want to pull additional dependencies into the project. Let me know if you think that is worth changing.

@greglook greglook self-assigned this Mar 24, 2021
Copy link
Collaborator

@greglook greglook left a comment

Choose a reason for hiding this comment

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

One minor change to the key names, otherwise this looks pretty good.

src/vault/authenticate.clj Outdated Show resolved Hide resolved
src/vault/authenticate.clj Outdated Show resolved Hide resolved
src/vault/client/http.clj Show resolved Hide resolved
test/vault/client/http_test.clj Show resolved Hide resolved
Copy link
Collaborator

@greglook greglook left a comment

Choose a reason for hiding this comment

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

🙆‍♂️ Thanks for the addition!

test/vault/client/http_test.clj Outdated Show resolved Hide resolved
Copy link
Contributor

@pyncc pyncc left a comment

Choose a reason for hiding this comment

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

This looks good, thank you for the addition and nice tests covering it!

Co-authored-by: Greg Look <greg@greg-look.net>
@codecov-io
Copy link

Codecov Report

Merging #50 (ef2b1a3) into master (eb9508d) will increase coverage by 1.61%.
The diff coverage is 89.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   53.82%   55.44%   +1.61%     
==========================================
  Files          10       10              
  Lines         654      680      +26     
  Branches       28       29       +1     
==========================================
+ Hits          352      377      +25     
  Misses        274      274              
- Partials       28       29       +1     
Impacted Files Coverage Δ
src/vault/client/http.clj 24.51% <0.00%> (ø)
src/vault/core.clj 83.33% <ø> (ø)
src/vault/authenticate.clj 57.14% <96.15%> (+12.83%) ⬆️

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 eb9508d...ef2b1a3. Read the comment docs.

@pyncc pyncc merged commit 61a852f into amperity:master Mar 31, 2021
@pyncc
Copy link
Contributor

pyncc commented Apr 1, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants