Uses of Class
org.springframework.vault.support.VaultToken
Packages that use 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
Subclasses of VaultToken in org.springframework.vault.authenticationModifier and TypeClassDescriptionclass
Value object for a Vault token obtained by a login method.Methods in org.springframework.vault.authentication that return VaultTokenModifier 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()
KubernetesAuthentication.login()
protected VaultToken
LifecycleAwareSessionManager.login()
PcfAuthentication.login()
TokenAuthentication.login()
UsernamePasswordAuthentication.login()
Methods in org.springframework.vault.authentication that return types with arguments of type VaultTokenModifier 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.Methods in org.springframework.vault.authentication with parameters of type VaultTokenModifier 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.Method parameters in org.springframework.vault.authentication with type arguments of type VaultTokenModifier and TypeMethodDescriptionAuthenticationSteps.Node.login
(Function<? super T, ? extends VaultToken> mappingFunction) Constructors in org.springframework.vault.authentication with parameters of type VaultTokenModifierConstructorDescriptionTokenAuthentication
(VaultToken token) Create a newTokenAuthentication
with a statictoken
.TokenWrapper
(VaultToken token, boolean revocable) -
Uses of VaultToken in org.springframework.vault.authentication.event
Methods in org.springframework.vault.authentication.event that return VaultTokenModifier and TypeMethodDescriptionAuthenticationEvent.getSource()
LoginTokenRenewalFailedEvent.getSource()
LoginTokenRevocationFailedEvent.getSource()
Constructors in org.springframework.vault.authentication.event with parameters of type VaultTokenModifierConstructorDescriptionAfterLoginEvent
(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
Methods in org.springframework.vault.client with parameters of type VaultTokenModifier and TypeMethodDescriptionstatic HttpHeaders
VaultHttpHeaders.from
(VaultToken vaultToken) CreateHttpHeaders
givenVaultToken
. -
Uses of VaultToken in org.springframework.vault.core
Methods in org.springframework.vault.core with parameters of type VaultTokenModifier 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
Methods in org.springframework.vault.support that return VaultTokenModifier 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
.Constructors in org.springframework.vault.support with parameters of type VaultTokenModifierConstructorDescriptionWrappedMetadata
(VaultToken token, Duration ttl, Instant creationTime, String path) Creates a newWrappedMetadata
.