Closed
Description
We need to login vault which is with Kubernetes jwt to get the vault token.
The auth is very similar than https://github.com/BetterCloud/vault-java-driver/blob/master/src/main/java/com/bettercloud/vault/api/Auth.java#L898 loginByGCP, but will need additional parameter "path", which fortunately already in the model.
Basically it will have an interface like
public AuthResponse loginByKubeJwt(final String path, final String role, final String jwt) throws VaultException
and the builder pattern will allow modify the uri based on path parameter if it's not "/v1/auth/gcp/login"
I can create a PR for that, please let me know either way, thanks a lot.
Metadata
Metadata
Assignees
Labels
No labels