Uses of Class
org.springframework.vault.VaultException
Package
Description
Support for authentication and session management.
Spring Vault Client abstraction.
Vault core support.
Spring Vault's environment abstraction consisting property source support.
Classes supporting the Vault packages, such as value objects.
-
Uses of VaultException in org.springframework.vault.authentication
Modifier and TypeClassDescriptionclass
Exception thrown if Vault login fails.class
Abstract superclass for all exceptions thrown in the session manager implementationsclass
Exception thrown if a token self-lookup fails viaauth/token/lookup-self
.class
Exception thrown when a Vault token renewal fails.Modifier and TypeMethodDescriptionAuthenticationStepsOperator.getVaultToken()
CachingVaultTokenSupplier.getVaultToken()
ReactiveLifecycleAwareSessionManager.getVaultToken()
AuthenticationStepsExecutor.login()
AwsEc2Authentication.login()
AwsIamAuthentication.login()
AzureMsiAuthentication.login()
ClientAuthentication.login()
Return aVaultToken
.CubbyholeAuthentication.login()
GcpComputeAuthentication.login()
GcpIamAuthentication.login()
Deprecated, for removal: This API element is subject to removal in a future version.GcpIamCredentialsAuthentication.login()
KubernetesAuthentication.login()
LoginTokenAdapter.login()
PcfAuthentication.login()
UsernamePasswordAuthentication.login()
-
Uses of VaultException in org.springframework.vault.client
Modifier and TypeMethodDescriptionstatic VaultException
VaultResponses.buildException
(HttpStatusCode statusCode, String path, String message) static VaultException
VaultResponses.buildException
(HttpStatusCodeException e) Build aVaultException
givenHttpStatusCodeException
.static VaultException
VaultResponses.buildException
(HttpStatusCodeException e, String path) -
Uses of VaultException in org.springframework.vault.core
Modifier and TypeClassDescriptionclass
An exception which is used in case that no secret is found from Vault server.Modifier and TypeMethodDescriptionvoid
VaultSysOperations.authMount
(String path, VaultMount vaultMount) Mounts an auth backendVaultMount
topath
.void
VaultSysTemplate.authMount
(String path, VaultMount vaultMount) void
VaultSysOperations.authUnmount
(String path) Unmounts the auth backend mount atpath
.void
VaultSysTemplate.authUnmount
(String path) VaultTokenOperations.create()
Create a new token.VaultTokenOperations.create
(VaultTokenRequest request) Create a new token for the givenVaultTokenRequest
.void
VaultSysOperations.createOrUpdatePolicy
(String name, Policy policy) Create or update aPolicy
.void
VaultSysTemplate.createOrUpdatePolicy
(String name, Policy policy) void
VaultSysOperations.deletePolicy
(String name) Delete aPolicy
by its name.void
VaultSysTemplate.deletePolicy
(String name) <V,
T extends org.reactivestreams.Publisher<V>>
TReactiveVaultOperations.doWithSession
(Function<WebClient, ? extends T> sessionCallback) Executes a VaultRestOperationsCallback
.<V,
T extends org.reactivestreams.Publisher<V>>
TReactiveVaultTemplate.doWithSession
(Function<WebClient, ? extends T> sessionCallback) <T> T
VaultOperations.doWithSession
(RestOperationsCallback<T> sessionCallback) Executes a VaultRestOperationsCallback
.<V,
T extends org.reactivestreams.Publisher<V>>
TReactiveVaultOperations.doWithVault
(Function<WebClient, ? extends T> clientCallback) Executes a VaultRestOperationsCallback
.<V,
T extends org.reactivestreams.Publisher<V>>
TReactiveVaultTemplate.doWithVault
(Function<WebClient, ? extends T> clientCallback) <T> T
VaultOperations.doWithVault
(RestOperationsCallback<T> clientCallback) Executes a VaultRestOperationsCallback
.VaultSysOperations.getAuthMounts()
VaultSysTemplate.getAuthMounts()
VaultPkiOperations.getCrl
(VaultPkiOperations.Encoding encoding) Retrieves the current CRL in raw form.VaultPkiTemplate.getCrl
(VaultPkiOperations.Encoding encoding) VaultSysOperations.getMounts()
Read aPolicy
by its name.VaultSysOperations.getPolicyNames()
Lists policy names stored in Vault.VaultSysTemplate.getPolicyNames()
VaultSysOperations.getUnsealStatus()
VaultSysOperations.health()
Return the health status of Vault.VaultSysOperations.initialize
(VaultInitializationRequest vaultInitializationRequest) Initialize Vault with aVaultInitializationRequest
.boolean
VaultSysOperations.isInitialized()
VaultPkiOperations.issueCertificate
(String roleName, VaultCertificateRequest certificateRequest) Requests a certificate bundle (private key and certificate) from Vault's PKI backend given aroleName
andVaultCertificateRequest
.VaultPkiTemplate.issueCertificate
(String roleName, VaultCertificateRequest certificateRequest) void
VaultSysOperations.mount
(String path, VaultMount vaultMount) Mounts a secret backendVaultMount
topath
.void
Revokes a certificate using its serial number.void
void
VaultSysOperations.seal()
Seal vault.VaultPkiOperations.signCertificateRequest
(String roleName, String csr, VaultCertificateRequest certificateRequest) VaultPkiTemplate.signCertificateRequest
(String roleName, String csr, VaultCertificateRequest certificateRequest) void
Unmounts the secret backend mount atpath
.Unseal vault. -
Uses of VaultException in org.springframework.vault.core.env
Modifier and TypeClassDescriptionclass
Exception throws when aVaultPropertySource
could not load its properties.Modifier and TypeMethodDescriptionVaultPropertySource.doGetProperties
(String path) Hook method to obtain properties from Vault. -
Uses of VaultException in org.springframework.vault.support
ModifierConstructorDescriptionprotected
AbstractResult
(VaultException exception) Create aAbstractResult
completed with anVaultException
.VaultDecryptionResult
(VaultException exception) CreateVaultDecryptionResult
for an error during decryption.VaultEncryptionResult
(VaultException exception) CreateVaultEncryptionResult
for an error during encryption.VaultTransformDecodeResult
(VaultException exception) CreateVaultTransformDecodeResult
for an error during decryption.VaultTransformEncodeResult
(VaultException exception) CreateVaultTransformEncodeResult
for an error during encryption.