Uses of Interface
codes.grow.packages.vault.AuthMethod
Packages that use AuthMethod
-
Uses of AuthMethod in codes.grow.packages.vault
Classes in codes.grow.packages.vault that implement AuthMethodModifier and TypeClassDescriptionfinal classAppRole login:POST auth/<mount>/login {role_id, secret_id}(default mountapprole).final classJWT/OIDC login with a JWT:POST auth/<mount>/login {role, jwt}.final classKubernetes login:POST auth/<mount>/login {role, jwt}with the service account token read fromjwtPath(default "/var/run/secrets/kubernetes.io/serviceaccount/token") at login time.final classUses an existing token (X-Vault-Token);loginchecks it with lookup-self.final classUsername/password login:POST auth/<mount>/login/<username> {password}.Methods in codes.grow.packages.vault with parameters of type AuthMethodModifier and TypeMethodDescriptionAuth.login(AuthMethod method) Logs in with an auth method and uses the new token for this client.Auth.login(AuthMethod method, LoginOptions options) Logs in with options (keep the current token, automatic renewal).Auth.loginAsync(AuthMethod method) AsynchronousAuth.login(AuthMethod).Auth.loginAsync(AuthMethod method, LoginOptions options) AsynchronousAuth.login(AuthMethod, LoginOptions).