amperity / vault-clj

Clojure client for Hashicorp's Vault secret management system.
Other
70 stars 17 forks source link

Add Userpass auth method #87

Closed brendonjwong closed 1 year ago

brendonjwong commented 1 year ago

Implemented the Userpass's login method. Validated with the added integration test for userpass.

This should resolve https://github.com/amperity/vault-clj/issues/78.

brendonjwong commented 1 year ago

The linting failure seems unrelated to these changes?

src/vault/secret/kv/v1.clj:157:33: error: Unresolved symbol: random-uuid
src/vault/secret/kv/v2.clj:556:40: error: Unresolved symbol: parse-long
src/vault/secret/kv/v2.clj:568:23: error: Unresolved symbol: random-uuid
linting took 404ms, errors: 3, warnings: 0

Exited with code exit status 3
codecov-commenter commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (vault-2.x-rewrite@df04c91). Click here to learn what that means. Patch has no changes to coverable lines.

:exclamation: Current head 31d746e differs from pull request most recent head 094bdae. Consider uploading reports for the commit 094bdae to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## vault-2.x-rewrite #87 +/- ## ==================================================== Coverage ? 57.36% ==================================================== Files ? 16 Lines ? 1379 Branches ? 31 ==================================================== Hits ? 791 Misses ? 557 Partials ? 31 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=amperity). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=amperity)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.