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
Add LDAP support #14 #16
Add LDAP support #14 #16
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #16 +/- ##
==========================================
- Coverage 25.24% 24.95% -0.3%
==========================================
Files 6 6
Lines 511 521 +10
Branches 15 15
==========================================
+ Hits 129 130 +1
- Misses 367 376 +9
Partials 15 15
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one minor change.
src/vault/client/http.clj
Outdated
[client credentials] | ||
(let [{:keys [username password]} credentials] | ||
(api-auth! | ||
(str "user " username) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The string here should be "ldap "
to distinguish this from the username/password auth method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
As requested
Add LDAP auth support.
Tested here, appears to work.