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 TypeClassDescriptionclassValue 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()GitHubAuthentication.login()JwtAuthentication.login()KubernetesAuthentication.login()protected VaultTokenLifecycleAwareSessionManager.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 AuthenticationStepsTokenAuthentication.createAuthenticationSteps(VaultToken token, boolean selfLookup) Creates aAuthenticationStepsfor token authentication givenVaultToken.CubbyholeAuthenticationOptions.CubbyholeAuthenticationOptionsBuilder.initialToken(VaultToken initialToken) Configure the initialVaultTokento access Cubbyhole.protected booleanReactiveLifecycleAwareSessionManager.isTokenRenewable(VaultToken token) static AuthenticationStepsAuthenticationSteps.just(VaultToken token) Create a flow definition using a providedVaultToken.AppRoleAuthenticationOptions.RoleId.pull(VaultToken initialToken) Create aAppRoleAuthenticationOptions.RoleIdthat obtains its value using pull-mode, specifying ainitial token.AppRoleAuthenticationOptions.SecretId.pull(VaultToken initialToken) Create aAppRoleAuthenticationOptions.SecretIdthat obtains its value using pull-mode, specifying ainitial token.static LoginTokenLoginToken.renewable(VaultToken token, Duration leaseDuration) Create a new renewableLoginTokenwith aleaseDurationSeconds.protected voidLifecycleAwareSessionManager.revoke(VaultToken token) Revoke aVaultToken.ReactiveLifecycleAwareSessionManager.revoke(VaultToken token) Revoke aVaultToken.AppRoleAuthenticationOptions.RoleId.wrapped(VaultToken initialToken) Create aAppRoleAuthenticationOptions.RoleIdobject that obtains its value from unwrapping a response using theinitial tokenfrom a Cubbyhole.AppRoleAuthenticationOptions.SecretId.wrapped(VaultToken initialToken) Create aAppRoleAuthenticationOptions.SecretIdobject that obtains its value from unwrapping a response using theinitial tokenfrom 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 newTokenAuthenticationwith 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 newAfterLoginEventgivenVaultToken.Create a newAfterLoginTokenRenewedEventgivenVaultToken.Create a newAfterLoginTokenRevocationEventgivenVaultToken.protectedAuthenticationEvent(VaultToken source) Create a newAuthenticationEventgivenVaultToken.Create a newBeforeLoginTokenRenewedEventgivenVaultToken.Create a newBeforeLoginTokenRevocationEventgivenVaultToken.LoginTokenExpiredEvent(VaultToken source) Create a newLoginTokenExpiredEventgivenVaultToken.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 HttpHeadersVaultHttpHeaders.from(VaultToken vaultToken) CreateHttpHeadersgivenVaultToken. -
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 upmetadatafor 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) voidVaultTokenOperations.revoke(VaultToken vaultToken) Revoke aVaultToken.voidVaultTokenTemplate.revoke(VaultToken vaultToken) voidVaultTokenOperations.revokeOrphan(VaultToken vaultToken) Revoke aVaultTokenbut not its child tokens.voidVaultTokenTemplate.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 aVaultTokenfrom theVaultResponse.WrappedMetadata.getToken()static VaultTokenVaultToken.of(char[] token) Create a newVaultToken.static VaultTokenCreate a newVaultToken.Constructors in org.springframework.vault.support with parameters of type VaultTokenModifierConstructorDescriptionWrappedMetadata(VaultToken token, Duration ttl, Instant creationTime, String path) Creates a newWrappedMetadata.