Uses of Class
org.springframework.vault.support.VaultToken
Package
Description
Support for authentication and session management.
Support classes for authentication application events.
Spring Vault Client abstraction.
Vault core support.
Classes supporting the Vault packages, such as value objects.
-
Uses of VaultToken in org.springframework.vault.authentication
Modifier and TypeClassDescriptionclass
Value object for a Vault token obtained by a login method.Modifier and TypeMethodDescriptionCubbyholeAuthenticationOptions.getInitialToken()
LifecycleAwareSessionManager.getSessionToken()
SessionManager.getSessionToken()
Obtain a session token.SimpleSessionManager.getSessionToken()
LifecycleAwareSessionManager.TokenWrapper.getToken()
ReactiveLifecycleAwareSessionManager.TokenWrapper.getToken()
AppIdAuthentication.login()
Deprecated, for removal: This API element is subject to removal in a future version.AppRoleAuthentication.login()
AuthenticationStepsExecutor.login()
AwsEc2Authentication.login()
AwsIamAuthentication.login()
AzureMsiAuthentication.login()
ClientAuthentication.login()
Return aVaultToken
.ClientCertificateAuthentication.login()
CubbyholeAuthentication.login()
GcpComputeAuthentication.login()
GcpIamAuthentication.login()
Deprecated, for removal: This API element is subject to removal in a future version.GcpIamCredentialsAuthentication.login()
JwtAuthentication.login()
KubernetesAuthentication.login()
protected VaultToken
LifecycleAwareSessionManager.login()
PcfAuthentication.login()
TokenAuthentication.login()
UsernamePasswordAuthentication.login()
Modifier and TypeMethodDescriptiondefault Mono<VaultToken>
ReactiveSessionManager.getSessionToken()
Obtain a session token.AuthenticationStepsOperator.getVaultToken()
CachingVaultTokenSupplier.getVaultToken()
ReactiveLifecycleAwareSessionManager.getVaultToken()
VaultTokenSupplier.getVaultToken()
Return aVaultToken
.ReactiveLifecycleAwareSessionManager.renewToken()
Performs a token refresh.Modifier and TypeMethodDescriptionstatic AuthenticationSteps
TokenAuthentication.createAuthenticationSteps
(VaultToken token, boolean selfLookup) Creates aAuthenticationSteps
for token authentication givenVaultToken
.CubbyholeAuthenticationOptions.CubbyholeAuthenticationOptionsBuilder.initialToken
(VaultToken initialToken) Configure the initialVaultToken
to access Cubbyhole.protected boolean
ReactiveLifecycleAwareSessionManager.isTokenRenewable
(VaultToken token) static AuthenticationSteps
AuthenticationSteps.just
(VaultToken token) Create a flow definition using a providedVaultToken
.AppRoleAuthenticationOptions.RoleId.pull
(VaultToken initialToken) Create aAppRoleAuthenticationOptions.RoleId
that obtains its value using pull-mode, specifying ainitial token
.AppRoleAuthenticationOptions.SecretId.pull
(VaultToken initialToken) Create aAppRoleAuthenticationOptions.SecretId
that obtains its value using pull-mode, specifying ainitial token
.static LoginToken
LoginToken.renewable
(VaultToken token, Duration leaseDuration) Create a new renewableLoginToken
with aleaseDurationSeconds
.protected void
LifecycleAwareSessionManager.revoke
(VaultToken token) Revoke aVaultToken
.ReactiveLifecycleAwareSessionManager.revoke
(VaultToken token) Revoke aVaultToken
.AppRoleAuthenticationOptions.RoleId.wrapped
(VaultToken initialToken) Create aAppRoleAuthenticationOptions.RoleId
object that obtains its value from unwrapping a response using theinitial token
from a Cubbyhole.AppRoleAuthenticationOptions.SecretId.wrapped
(VaultToken initialToken) Create aAppRoleAuthenticationOptions.SecretId
object that obtains its value from unwrapping a response using theinitial token
from a Cubbyhole.Modifier and TypeMethodDescriptionAuthenticationSteps.Node.login
(Function<? super T, ? extends VaultToken> mappingFunction) ModifierConstructorDescriptionTokenAuthentication
(VaultToken token) Create a newTokenAuthentication
with a statictoken
.TokenWrapper
(VaultToken token, boolean revocable) -
Uses of VaultToken in org.springframework.vault.authentication.event
Modifier and TypeMethodDescriptionAuthenticationEvent.getSource()
LoginTokenRenewalFailedEvent.getSource()
LoginTokenRevocationFailedEvent.getSource()
ModifierConstructorDescriptionAfterLoginEvent
(VaultToken source) Create a newAfterLoginEvent
givenVaultToken
.Create a newAfterLoginTokenRenewedEvent
givenVaultToken
.Create a newAfterLoginTokenRevocationEvent
givenVaultToken
.protected
AuthenticationEvent
(VaultToken source) Create a newAuthenticationEvent
givenVaultToken
.Create a newBeforeLoginTokenRenewedEvent
givenVaultToken
.Create a newBeforeLoginTokenRevocationEvent
givenVaultToken
.LoginTokenExpiredEvent
(VaultToken source) Create a newLoginTokenExpiredEvent
givenVaultToken
.LoginTokenRenewalFailedEvent
(VaultToken source, Throwable exception) LoginTokenRevocationFailedEvent
(VaultToken source, Throwable exception) -
Uses of VaultToken in org.springframework.vault.client
Modifier and TypeMethodDescriptionstatic HttpHeaders
VaultHttpHeaders.from
(VaultToken vaultToken) CreateHttpHeaders
givenVaultToken
. -
Uses of VaultToken in org.springframework.vault.core
Modifier and TypeMethodDescriptionVaultWrappingOperations.lookup
(VaultToken token) Looks upmetadata
for the given token containing a wrapped response.VaultWrappingTemplate.lookup
(VaultToken token) VaultWrappingOperations.read
(VaultToken token) Read a wrapped secret.<T> VaultResponseSupport<T>
VaultWrappingOperations.read
(VaultToken token, Class<T> responseType) Read a wrapped secret of typeresponseType
.VaultWrappingTemplate.read
(VaultToken token) <T> VaultResponseSupport<T>
VaultWrappingTemplate.read
(VaultToken token, Class<T> responseType) VaultTokenOperations.renew
(VaultToken vaultToken) Renew aVaultToken
.VaultTokenTemplate.renew
(VaultToken vaultToken) void
VaultTokenOperations.revoke
(VaultToken vaultToken) Revoke aVaultToken
.void
VaultTokenTemplate.revoke
(VaultToken vaultToken) void
VaultTokenOperations.revokeOrphan
(VaultToken vaultToken) Revoke aVaultToken
but not its child tokens.void
VaultTokenTemplate.revokeOrphan
(VaultToken vaultToken) VaultWrappingOperations.rewrap
(VaultToken token) Rewraps a response-wrapped token.VaultWrappingTemplate.rewrap
(VaultToken token) -
Uses of VaultToken in org.springframework.vault.support
Modifier and TypeMethodDescriptionVaultInitializationResponse.getRootToken()
VaultTokenResponse.getToken()
Return aVaultToken
from theVaultResponse
.WrappedMetadata.getToken()
static VaultToken
VaultToken.of
(char[] token) Create a newVaultToken
.static VaultToken
Create a newVaultToken
.ModifierConstructorDescriptionWrappedMetadata
(VaultToken token, Duration ttl, Instant creationTime, String path) Creates a newWrappedMetadata
.