AbstractAbstract ReadonlykindMethod name (token, universal-auth, kubernetes-auth, aws-auth).
Protected Abstract ReadonlyloginLogin path, e.g. /api/v1/auth/universal-auth/login.
ReadonlyrefreshableWhether a rejected token can be replaced by logging in again.
ReadonlytokenPrincipal kind of the tokens this method produces.
The current access token (null before the first login or after revoke).
ProtectedcontextThe bound client context (ConfigError before the method is passed to a client).
Releases the method; revokes a login token when revoke is true.
Forgets the current token (the next call logs in again).
Credential values to redact from errors.
Logs in and stores the new access token.
Protected AbstractloginBuilds the login body (without organizationSlug).
Renews the current token (POST /api/v1/auth/token/renew) and stores the returned one.
Revokes the current token (POST /api/v1/auth/token/revoke). No-op without a token.
The current token, logging in or renewing when needed.
Returns a string representation of an object.
Base of the login-based machine identity methods:
login,renew,revokeand automatic refresh (renew at 80 % of the lifetime, re-login when the max TTL is reached or renewal fails).