Uses of Class
org.springframework.vault.VaultException
Packages that use 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
Subclasses of VaultException in org.springframework.vault.authenticationModifier and TypeClassDescriptionclassException thrown if Vault login fails.classAbstract superclass for all exceptions thrown in the session manager implementationsclassException thrown if a token self-lookup fails viaauth/token/lookup-self.classException thrown when a Vault token renewal fails.Methods in org.springframework.vault.authentication that throw VaultExceptionModifier 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()GitHubAuthentication.login()JwtAuthentication.login()KubernetesAuthentication.login()LoginTokenAdapter.login()PcfAuthentication.login()UsernamePasswordAuthentication.login() -
Uses of VaultException in org.springframework.vault.client
Methods in org.springframework.vault.client that return VaultExceptionModifier and TypeMethodDescriptionstatic VaultExceptionVaultResponses.buildException(HttpStatusCode statusCode, String path, String message) static VaultExceptionVaultResponses.buildException(HttpStatusCodeException e) Build aVaultExceptiongivenHttpStatusCodeException.static VaultExceptionVaultResponses.buildException(HttpStatusCodeException e, String path) -
Uses of VaultException in org.springframework.vault.core
Subclasses of VaultException in org.springframework.vault.coreModifier and TypeClassDescriptionclassAn exception which is used in case that no secret is found from Vault server.Methods in org.springframework.vault.core that throw VaultExceptionModifier and TypeMethodDescriptionvoidVaultSysOperations.authMount(String path, VaultMount vaultMount) Mounts an auth backendVaultMounttopath.voidVaultSysTemplate.authMount(String path, VaultMount vaultMount) voidVaultSysOperations.authUnmount(String path) Unmounts the auth backend mount atpath.voidVaultSysTemplate.authUnmount(String path) default VaultTokenResponseVaultTokenOperations.create()Create a new token.default VaultTokenResponseCreate a new token for the givenrole.VaultTokenOperations.create(String role, VaultTokenRequest request) Create a new token for the givenroleandVaultTokenRequest.VaultTokenOperations.create(VaultTokenRequest request) Create a new token for the givenVaultTokenRequest.VaultTokenTemplate.create(String role, VaultTokenRequest request) voidVaultSysOperations.createOrUpdatePolicy(String name, Policy policy) Create or update aPolicy.voidVaultSysTemplate.createOrUpdatePolicy(String name, Policy policy) voidVaultSysOperations.deletePolicy(String name) Delete aPolicyby its name.voidVaultSysTemplate.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> TVaultOperations.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> TVaultOperations.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) VaultPkiOperations.getIssuerCertificate(String issuer) Retrieves the specified issuer's certificate.VaultPkiOperations.getIssuerCertificate(String issuer, VaultPkiOperations.Encoding encoding) Retrieves the specified issuer's certificate.VaultPkiTemplate.getIssuerCertificate(String issuer) VaultPkiTemplate.getIssuerCertificate(String issuer, VaultPkiOperations.Encoding encoding) VaultSysOperations.getMounts()Read aPolicyby its name.VaultSysOperations.getPolicyNames()Lists policy names stored in Vault.VaultSysTemplate.getPolicyNames()VaultSysOperations.getUnsealStatus()ReactiveVaultSysOperations.health()Return the health status of Vault.VaultSysOperations.health()Return the health status of Vault.VaultSysOperations.initialize(VaultInitializationRequest vaultInitializationRequest) Initialize Vault with aVaultInitializationRequest.ReactiveVaultSysOperations.isInitialized()booleanVaultSysOperations.isInitialized()VaultPkiOperations.issueCertificate(String roleName, VaultCertificateRequest certificateRequest) Requests a certificate bundle (private key and certificate) from Vault's PKI backend given aroleNameandVaultCertificateRequest.VaultPkiTemplate.issueCertificate(String roleName, VaultCertificateRequest certificateRequest) voidVaultSysOperations.mount(String path, VaultMount vaultMount) Mounts a secret backendVaultMounttopath.voidRevokes a certificate using its serial number.voidvoidVaultSysOperations.seal()Seal vault.VaultPkiOperations.signCertificateRequest(String roleName, String csr, VaultCertificateRequest certificateRequest) VaultPkiTemplate.signCertificateRequest(String roleName, String csr, VaultCertificateRequest certificateRequest) voidUnmounts the secret backend mount atpath.Unseal vault. -
Uses of VaultException in org.springframework.vault.core.env
Subclasses of VaultException in org.springframework.vault.core.envModifier and TypeClassDescriptionclassException throws when aVaultPropertySourcecould not load its properties.Methods in org.springframework.vault.core.env that throw VaultExceptionModifier and TypeMethodDescriptionVaultPropertySource.doGetProperties(String path) Hook method to obtain properties from Vault. -
Uses of VaultException in org.springframework.vault.support
Constructors in org.springframework.vault.support with parameters of type VaultExceptionModifierConstructorDescriptionprotectedAbstractResult(VaultException exception) Create aAbstractResultcompleted with anVaultException.VaultDecryptionResult(VaultException exception) CreateVaultDecryptionResultfor an error during decryption.VaultEncryptionResult(VaultException exception) CreateVaultEncryptionResultfor an error during encryption.VaultTransformDecodeResult(VaultException exception) CreateVaultTransformDecodeResultfor an error during decryption.VaultTransformEncodeResult(VaultException exception) CreateVaultTransformEncodeResultfor an error during encryption.