Package | Description |
---|---|
org.springframework.vault.support |
Classes supporting the Vault packages, such as value objects.
|
Modifier and Type | Method and Description |
---|---|
static VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.builder() |
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.displayName(String displayName)
Configure a display name for the token, defaults to "token".
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.explicitMaxTtl(Duration explicitMaxTtl)
Configure the explicit maximum TTL for the token.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.explicitMaxTtl(long explicitMaxTtl)
Deprecated.
since 2.0, use
explicitMaxTtl(Duration) for time unit
safety. |
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.explicitMaxTtl(long explicitMaxTtl,
TimeUnit timeUnit)
Configure the explicit maximum TTL for the token.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.id(String id)
Configure a the Id of the client token.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.meta(Map<String,String> meta)
Configure meta.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.noDefaultPolicy()
Omit the default policy in the token's policy set
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.noDefaultPolicy(boolean noDefaultPolicy)
Configure whether the default policy should be part of the token's policy set.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.noParent()
Configure the token to not have the parent token of the caller.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.noParent(boolean noParent)
Configure the token to not have the parent token of the caller.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.numUses(int numUses)
Configure the maximum uses for the token.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.policies(Iterable<String> policies)
Configure policies.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.renewable()
Enable TTL extension/renewal for the token.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.renewable(boolean renewable)
Configure TTL extension/renewal for the token.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.ttl(Duration ttl)
Configure a TTL for the token using
ChronoUnit.SECONDS resolution. |
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.ttl(long ttl)
Deprecated.
since 2.0, use
ttl(Duration) for time unit safety. |
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.ttl(long ttl,
TimeUnit timeUnit)
Configure a TTL (seconds) for the token.
|
VaultTokenRequest.VaultTokenRequestBuilder |
VaultTokenRequest.VaultTokenRequestBuilder.withPolicy(String policy)
Add a policy.
|
Copyright © 2016–2024 Pivotal Software, Inc.. All rights reserved.