Uses of Class
de.stklcode.jvault.connector.model.AppRole.Builder
Package
Description
Model classes for communication with the Vault API.
-
Uses of AppRole.Builder in de.stklcode.jvault.connector.model
Modifier and TypeMethodDescriptionstatic AppRole.Builder
GetAppRole.Builder
instance.AppRole.Builder.withBindSecretID()
Bind role to secret ID.AppRole.Builder.withBindSecretID
(Boolean bindSecretId) Set if role is bound to secret ID.AppRole.Builder.withEnableLocalSecretIds
(Boolean enableLocalSecretIds) Enable or disable local secret IDs.Add custom role ID.Add role name.AppRole.Builder.withoutBindSecretID()
Do not bind role to secret ID.AppRole.Builder.withSecretBoundCidr
(String secretBoundCidr) Add a CIDR block to list of bound blocks for secret.AppRole.Builder.withSecretIdBoundCidrs
(List<String> secretIdBoundCidrs) Set bound CIDR blocks.AppRole.Builder.withSecretIdNumUses
(Integer secretIdNumUses) Set number of uses for sectet IDs.AppRole.Builder.withSecretIdTtl
(Integer secretIdTtl) Set default sectet ID TTL in seconds.AppRole.Builder.withTokenBoundCidr
(String tokenBoundCidr) Add a CIDR block to list of bound blocks for token.AppRole.Builder.withTokenBoundCidrs
(List<String> tokenBoundCidrs) Set bound CIDR blocks for associated tokens.AppRole.Builder.withTokenExplicitMaxTtl
(Integer tokenExplicitMaxTtl) Set explicit maximum token TTL in seconds.AppRole.Builder.withTokenMaxTtl
(Integer tokenMaxTtl) Set maximum token TTL in seconds.AppRole.Builder.withTokenNoDefaultPolicy
(Boolean tokenNoDefaultPolicy) Enable or disable default policy for generated token.AppRole.Builder.withTokenNumUses
(Integer tokenNumUses) Set number of uses for generated tokens.AppRole.Builder.withTokenPeriod
(Integer tokenPeriod) Set renewal period for generated token in seconds.AppRole.Builder.withTokenPolicies
(List<String> tokenPolicies) Add given policies.AppRole.Builder.withTokenPolicy
(String tokenPolicy) Add a single policy.AppRole.Builder.withTokenTtl
(Integer tokenTtl) Set default token TTL in seconds.AppRole.Builder.withTokenType
(Token.Type tokenType) Set type of generated token.ModifierConstructorDescriptionAppRole
(AppRole.Builder builder) ConstructAppRole
object fromAppRole.Builder
.