Closed brendonjwong closed 1 year ago
:exclamation: No coverage uploaded for pull request base (
vault-2.x-rewrite@841ced8
). Click here to learn what that means. Patch has no changes to coverable lines.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Implemented the Kubernetes auth's login method. This should resolve https://github.com/amperity/vault-clj/issues/81.
Similar to https://github.com/amperity/vault-clj/pull/89, I'm not sure it makes sense to write an integration test for this just yet due to the amount of setup it requires, but it's not impossible either. I did run a K8s cluster locally, configured to use my local Vault server and was able to validate the login method using a JWT from a local K8s service account.
Steps to validate:
dev/server
to run the Vault server athttp://0.0.0.0:8200
with the tokenroot
and then started the server by callingdev/server
.kubectl create token internal-app
Login with the REPL: