Uses of Class
de.stklcode.jvault.connector.model.TokenRole.Builder
Package
Description
Model classes for communication with the Vault API.
-
Uses of TokenRole.Builder in de.stklcode.jvault.connector.model
Modifier and TypeMethodDescriptionstatic TokenRole.Builder
TokenRole.builder()
GetTokenRole.Builder
instance.Add token role name.Set TRUE if the token role should be created orphan.Set TRUE if the token role should be created renewable.TokenRole.Builder.withAllowedEntityAlias
(String allowedEntityAlias) Add an allowed entity alias.TokenRole.Builder.withAllowedEntityAliases
(List<String> allowedEntityAliases) Add allowed entity aliases.TokenRole.Builder.withAllowedPolicies
(List<String> allowedPolicies) Add allowed policies.TokenRole.Builder.withAllowedPolicy
(String allowedPolicy) Add an allowed policy.TokenRole.Builder.withDisallowedPolicies
(List<String> disallowedPolicies) Add disallowed policies.TokenRole.Builder.withDisallowedPolicy
(String disallowedPolicy) Add a disallowed policy.TokenRole.Builder.withPathSuffix
(String pathSuffix) Set token role path suffix.TokenRole.Builder.withTokenBoundCidr
(String tokenBoundCidr) Add a single bound CIDR.TokenRole.Builder.withTokenBoundCidrs
(List<String> tokenBoundCidrs) Add a list of bound CIDRs.TokenRole.Builder.withTokenExplicitMaxTtl
(Integer tokenExplicitMaxTtl) Set explicit max.TokenRole.Builder.withTokenNoDefaultPolicy
(Boolean tokenNoDefaultPolicy) Set TRUE if the token role should be created renewable.TokenRole.Builder.withTokenNumUses
(Integer tokenNumUses) Set number of uses for tokens.TokenRole.Builder.withTokenPeriod
(Integer tokenPeriod) Set token period.TokenRole.Builder.withTokenType
(Token.Type tokenType) Set token type.