Uses of Class
io.helidon.integrations.vault.auths.token.CreateToken.Request
Package
Description
Token authentication method for Vault.
-
Uses of CreateToken.Request in io.helidon.integrations.vault.auths.token
Modifier and TypeMethodDescriptionCreateToken.Request.addMetadata
(String key, String value) Request metadata, passed through to the audit devices.Add a policy for the token.static CreateToken.Request
CreateToken.Request.builder()
Fluent API builder for configuring a request.CreateToken.Request.displayName
(String displayName) The display name of the token.CreateToken.Request.entityAlias
(String entityAlias) Name of the entity alias to associate with during token creation.CreateToken.Request.explicitMaxTtl
(Duration explicitMaxTtl) If set, the token will have an explicit max TTL set upon it.The ID of the client token.CreateToken.Request.noDefaultPolicy
(boolean noDefaultPolicy) If configured totrue
, thedefault
policy will not be contained in this token's policy set.CreateToken.Request.noParent
(boolean noParent) This argument only has effect if used by a root or sudo caller.CreateToken.Request.numUses
(int numUses) The maximum uses for the given token.If specified, the token will be periodic; it will have no maximum TTL (unless an "explicit-max-ttl" is also set) but every renewal will use the given period.CreateToken.Request.renewable
(boolean renewable) Set tofalse
to disable the ability of the token to be renewed past its initial TTL.The name of the token role.The TTL period of the token.Choose token type.Modifier and TypeMethodDescriptionTokenAuth.createToken
(CreateToken.Request request) Create a new token with customized configuration.TokenAuthRx.createToken
(CreateToken.Request request) Create a new token with customized configuration.