Uses of Class
org.springframework.vault.support.VaultTokenRequest.VaultTokenRequestBuilder
Package
Description
Classes supporting the Vault packages, such as value objects.
-
Uses of VaultTokenRequest.VaultTokenRequestBuilder in org.springframework.vault.support
Modifier and TypeMethodDescriptionVaultTokenRequest.builder()
VaultTokenRequest.VaultTokenRequestBuilder.displayName
(String displayName) Configure a display name for the token, defaults to "token".VaultTokenRequest.VaultTokenRequestBuilder.entityAlias
(String entityAlias) Configure the entity alias for the token.VaultTokenRequest.VaultTokenRequestBuilder.explicitMaxTtl
(long explicitMaxTtl, TimeUnit timeUnit) Configure the explicit maximum TTL for the token.VaultTokenRequest.VaultTokenRequestBuilder.explicitMaxTtl
(Duration explicitMaxTtl) Configure the explicit maximum TTL for the token.Configure the token identifier.Configure meta.VaultTokenRequest.VaultTokenRequestBuilder.noDefaultPolicy()
Omit the default policy in the token's policy setVaultTokenRequest.VaultTokenRequestBuilder.noDefaultPolicy
(boolean noDefaultPolicy) Configure whether the default policy should be part of the token's policy set.VaultTokenRequest.VaultTokenRequestBuilder.noParent()
Configure the token to not have the parent token of the caller.VaultTokenRequest.VaultTokenRequestBuilder.noParent
(boolean noParent) Configure the token to not have the parent token of the caller.VaultTokenRequest.VaultTokenRequestBuilder.numUses
(int numUses) Configure the maximum uses for the token.Configure policies.VaultTokenRequest.VaultTokenRequestBuilder.renewable()
Enable TTL extension/renewal for the token.VaultTokenRequest.VaultTokenRequestBuilder.renewable
(boolean renewable) Configure TTL extension/renewal for the token.Configure a TTL (seconds) for the token.Configure a TTL for the token usingChronoUnit.SECONDS
resolution.VaultTokenRequest.VaultTokenRequestBuilder.withPolicy
(String policy) Add a policy.