ReadonlyidentityThe machine identity id.
ReadonlykindMethod name (token, universal-auth, kubernetes-auth, aws-auth).
Protected ReadonlyloginLogin path, e.g. /api/v1/auth/universal-auth/login.
ReadonlyrefreshableWhether a rejected token can be replaced by logging in again.
ReadonlyregionSTS region.
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).
Builds the signed login body (exposed for tests and custom flows).
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.
ProtectedloginBuilds 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.
AWS IAM Auth — signs
sts:GetCallerIdentity(SigV4) and posts it to/api/v1/auth/aws-auth/login.