java.lang.Object
io.helidon.integrations.vault.VaultTokenBase
- Direct Known Subclasses:
VaultToken
Abstract implementation of token that can be used to access the Vault.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
VaultTokenBase.Builder<B extends VaultTokenBase.Builder<B,
T>, T> Base builder class for tokens. -
Constructor Summary
ModifierConstructorDescriptionprotected
VaultTokenBase
(VaultTokenBase.Builder<?, ?> builder) Create a new instance using the provided builder. -
Method Summary
-
Constructor Details
-
VaultTokenBase
Create a new instance using the provided builder.- Parameters:
builder
- builder
-
-
Method Details
-
created
When this token was created.- Returns:
- time this token instance was created
-
token
The token string.- Returns:
- token
-
leaseDuration
Lease duration.- Returns:
- lease duration
-
renewable
public boolean renewable()Whether the token is renewable.- Returns:
- if renewable
-