Class VaultTokenRequest
java.lang.Object
org.springframework.vault.support.VaultTokenRequest
Value object to bind Vault HTTP Token API requests.
- Author:
- Mark Paluch
-
Nested Class Summary
-
Method Summary
-
Method Details
-
builder
- Returns:
- a new
VaultTokenRequest.VaultTokenRequestBuilder
.
-
getId
- Returns:
- Id of the client token.
-
getPolicies
- Returns:
- policies for the token.
-
getMeta
- Returns:
- map of string to string valued metadata, passed through to the audit backends.
-
getNoParent
public boolean getNoParent()- Returns:
- true if the token should not have the parent.
-
getNoDefaultPolicy
public boolean getNoDefaultPolicy()- Returns:
- true if the default policy should not be be applied.
-
getRenewable
public boolean getRenewable()- Returns:
- true if then the token should be renewable.
-
getTtl
- Returns:
- TTL period of the token.
-
getExplicitMaxTtl
- Returns:
- explicit TTL of the token.
-
getDisplayName
- Returns:
- the display name.
-
getNumUses
public int getNumUses()- Returns:
- the number of allowed token uses.
-