Uses of Class
io.helidon.integrations.vault.auths.token.CreateTokenRole.Request
Package
Description
Token authentication method for Vault.
-
Uses of CreateTokenRole.Request in io.helidon.integrations.vault.auths.token
Modifier and TypeMethodDescriptionCreateTokenRole.Request.addAllowedEntityAlias
(String alias) f set, specifies the entity aliases which are allowed to be used during token generation.CreateTokenRole.Request.addAllowedPolicy
(String policyName) If set, tokens can be created with any subset of the policies in this list, rather than the normal semantics of tokens being a subset of the calling token's policies.CreateTokenRole.Request.addDisallowedPolicy
(String policyName) If set, successful token creation via this role will require that no policies in the given list are requested.CreateTokenRole.Request.addTokenBoundCidr
(String cidr) List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.static CreateTokenRole.Request
CreateTokenRole.Request.builder()
Fluent API builder for configuring a request.CreateTokenRole.Request.orphan
(boolean orphan) If true, tokens created against this policy will be orphan tokens (they will have no parent).CreateTokenRole.Request.pathSuffix
(String pathSuffix) If set, tokens created against this role will have the given suffix as part of their path in addition to the role name.CreateTokenRole.Request.renewable
(boolean renewable) Set to false to disable the ability of the token to be renewed past its initial TTL.The name of the token role.CreateTokenRole.Request.tokenExplicitMaxTtl
(Duration duration) If set, will encode an explicit max TTL onto the token.CreateTokenRole.Request.tokenNoDefaultPolicy
(boolean noDefaultPolicy) If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set inaddAllowedPolicy(String)
.CreateTokenRole.Request.tokenNumUses
(int uses) The maximum number of times a generated token may be used (within its lifetime); 0 means unlimited.CreateTokenRole.Request.tokenPeriod
(int period) The period, if any, to set on the token.The type of token that should be generated.Modifier and TypeMethodDescriptionTokenAuth.createTokenRole
(CreateTokenRole.Request request) Creates (or replaces) the named role.