Class CubbyholeAuthenticationOptions
java.lang.Object
org.springframework.vault.authentication.CubbyholeAuthenticationOptions
Authentication options for
CubbyholeAuthentication
.
Authentication options provide the path below cubbyhole and the cubbyhole mode. Instances of this class are immutable once constructed.
- Author:
- Mark Paluch
- See Also:
-
Nested Class Summary
-
Method Summary
-
Method Details
-
builder
-
getInitialToken
- Returns:
- the initial
VaultToken
to access Cubbyhole.
-
getPath
- Returns:
- the path of the Cubbyhole response path.
-
getUnwrappingEndpoints
- Returns:
- the endpoint configuration.
- Since:
- 2.2
-
isWrappedToken
public boolean isWrappedToken()- Returns:
- true indicates that the Cubbyhole response contains a wrapped token, otherwise false to expect a token in the data response.
-
isSelfLookup
public boolean isSelfLookup()- Returns:
- true to perform a token self-lookup after token retrieval to determine the remaining TTL and renewability for static wrapped tokens. Defaults to true.
- Since:
- 1.0.1
-