Uses of Class
io.github.jopenlibs.vault.VaultException
Packages that use VaultException
Package
Description
The root package containing the primary
Vault driver class.Classes implementing the various endpoints of the Vault HTTP API.
Intended for internal use by other classes within the Vault driver library.
Classes implementing Vault's mounts system.
Containers of data returned by the various Vault API calls.
-
Uses of VaultException in io.github.jopenlibs.vault
Methods in io.github.jopenlibs.vault that throw VaultExceptionModifier and TypeMethodDescriptionSslConfig.build()This is the terminating method in the builder pattern.VaultConfig.build()This is the terminating method in the builder pattern.SslConfig.clientKeyPemFile(File clientKeyPemFile) An RSA private key, for use with Vault's TLS Certificate auth backend.SslConfig.clientKeyPemResource(String classpathResource) An RSA private key, for use with Vault's TLS Certificate auth backend.SslConfig.clientPemFile(File clientPemFile) An X.509 client certificate, for use with Vault's TLS Certificate auth backend.SslConfig.clientPemResource(String classpathResource) An X.509 certificate, for use with Vault's TLS Certificate auth backend.static VaultVault.create(VaultConfig vaultConfig, Boolean useSecretsEnginePathMap, Integer globalFallbackVersion) Construct a Vault driver instance with the provided config settings.SslConfig.keyStoreFile(File keyStoreFile, String password) A Java keystore, containing a client certificate that's registered with Vault's TLS Certificate auth backend.SslConfig.keyStoreResource(String classpathResource, String password) A Java keystore, containing a client certificate that's registered with Vault's TLS Certificate auth backend.Optional.An X.509 certificate, to use when communicating with Vault over HTTPS.SslConfig.pemResource(String classpathResource) An X.509 certificate, to use when communicating with Vault over HTTPS.SslConfig.trustStoreFile(File trustStoreFile) A Java keystore, containing the X509 certificate used by Vault.SslConfig.trustStoreResource(String classpathResource) A Java keystore, containing the X509 certificate used by Vault.Constructors in io.github.jopenlibs.vault that throw VaultExceptionModifierConstructorDescriptionVaultImpl(VaultConfig vaultConfig, Boolean useSecretsEnginePathMap, Integer globalFallbackVersion) Construct a Vault driver instance with the provided config settings. -
Uses of VaultException in io.github.jopenlibs.vault.api
Methods in io.github.jopenlibs.vault.api that throw VaultExceptionModifier and TypeMethodDescriptionAuth.createToken(Auth.TokenRequest tokenRequest) Operation to create an authentication token.Auth.createToken(Auth.TokenRequest tokenRequest, String tokenAuthMount) Operation to create an authentication token.Deletes the key/value pair located at the provided path.Soft deletes the specified version of the key/value pair located at the provided path.Performs a hard delete of the specified version of the key/value pair located at the provided path.Debug.health()Returns the health status of Vault.Debug.health(Boolean standbyOk, Boolean perfstandbyOk, Integer activeCode, Integer standbyCode, Integer drsecondaryCode, Integer performanceStandbyCode, Integer sealedCode, Integer uninitCode) An overloaded version ofDebug.health()that allows for passing one or more optional parameters.Retrieve a list of keys corresponding to key/value pairs at a given Vault path.Auth.loginByAppID(String path, String appId, String userId) Deprecated.Auth.loginByAppRole(String roleId, String secretId) Basic login operation to authenticate to an app-role backend.Auth.loginByAppRole(String path, String roleId, String secretId) Basic login operation to authenticate to an app-role backend.Auth.loginByAwsEc2(String role, String pkcs7, String nonce, String awsAuthMount) Basic login operation to authenticate to a AWS backend using EC2 authentication.Auth.loginByAwsEc2(String role, String identity, String signature, String nonce, String awsAuthMount) Basic login operation to authenticate to a AWS backend using EC2 authentication.Auth.loginByAwsIam(String role, String iamRequestUrl, String iamRequestBody, String iamRequestHeaders, String awsAuthMount) Basic login operation to authenticate to a AWS backend using IAM authentication.Auth.loginByCert()Basic login operation to authenticate using Vault's TLS Certificate auth backend.Auth.loginByCert(String certAuthMount) Basic login operation to authenticate using Vault's TLS Certificate auth backend.Auth.loginByGCP(String role, String jwt) Basic login operation to authenticate to an GCP backend.Auth.loginByGithub(String githubToken) Basic login operation to authenticate to an github backend.Auth.loginByGithub(String githubToken, String githubAuthMount) Basic login operation to authenticate to an github backend.Auth.loginByJwt(String provider, String role, String jwt) Basic login operation to authenticate to an JWT backend.Auth.loginByJwt(String provider, String role, String jwt, String authPath) Basic login operation to authenticate to an JWT backend with custom authentication path.Auth.loginByKubernetes(String role, String jwt) Basic login operation to authenticate to a kubernetes backend.Auth.loginByKubernetes(String role, String jwt, String authPath) Basic login operation to authenticate to a kubernetes backend with custom path.Auth.loginByLDAP(String username, String password) Basic login operation to authenticate to a LDAP backend.Auth.loginByLDAP(String username, String password, String ldapAuthMount) Basic login operation to authenticate to a LDAP backend.Auth.loginByUserPass(String username, String password) Basic login operation to authenticate to a Username & Password backend.Auth.loginByUserPass(String username, String password, String userpassAuthMount) Basic login operation to authenticate to a Username & Password backend.Auth.lookupSelf()Returns information about the current client token.Auth.lookupSelf(String tokenAuthMount) Returns information about the current client token.Auth.lookupWrap()Deprecated.This method is deprecated and in future it will be removedAuth.lookupWrap(String wrappedToken) Deprecated.This method is deprecated and in future it will be removedAuth.lookupWrap(String wrappedToken, boolean inBody) Deprecated.This method is deprecated and in future it will be removedBasic read operation to retrieve a secret.Basic read operation to retrieve a specified secret version for KV engine version 2.Auth.renewSelf()Renews the lease associated with the calling token.Auth.renewSelf(long increment) Renews the lease associated with the calling token.Renews the lease associated with the calling token.protected <T> TOperationsBase.retry(OperationsBase.EndpointOperation<T> op) voidAuth.revokeSelf()Revokes current client token.voidAuth.revokeSelf(String tokenAuthMount) Revokes current client token.Deprecated.This method is deprecated and in future it will be removedRecovers a soft delete of the specified version of the key/value pair located at the provided path.Auth.unwrap()Deprecated.This method is deprecated and in future it will be removedDeprecated.This method is deprecated and in future it will be removedDeprecated.This method is deprecated and in future it will be removedPerforms an upgrade of the secrets engine version of the specified KV store to version 2.Auth.wrap(JsonObject jsonObject, int ttlInSec) Deprecated.This method is deprecated and in future it will be removedBasic operation to store secrets.Basic operation to store secrets.Logical.write(String path, Map<String, Object> nameValuePairs, Integer wrapTTL, WriteOptions writeOptions) Operation to store secrets with the ability to specify additional write options Seewritefor common behavior -
Uses of VaultException in io.github.jopenlibs.vault.api.database
Methods in io.github.jopenlibs.vault.api.database that throw VaultExceptionModifier and TypeMethodDescriptionDatabase.createOrUpdateRole(String roleName, DatabaseRoleOptions options) Operation to create or update an role using the Database Secret engine.Operation to generate a new set of credentials using the Database backend.Database.deleteRole(String roleName) Operation to delete an role using the Database backend.Operation to retrieve an role using the Database backend.Operation to revike a certificate in the vault using the Database backend. -
Uses of VaultException in io.github.jopenlibs.vault.api.pki
Methods in io.github.jopenlibs.vault.api.pki that throw VaultExceptionModifier and TypeMethodDescriptionPki.createOrUpdateRole(String roleName) Operation to create an role using the PKI backend.Pki.createOrUpdateRole(String roleName, RoleOptions options) Operation to create an role using the PKI backend.Pki.deleteRole(String roleName) Operation to delete an role using the PKI backend.Operation to retrieve an role using the PKI backend.Pki.issue(String roleName, String commonName, List<String> altNames, List<String> ipSans, String ttl, CredentialFormat format) Operation to generate a new set of credentials (private key and certificate) based on a given role using the PKI backend.Pki.issue(String roleName, String commonName, List<String> altNames, List<String> ipSans, String ttl, CredentialFormat format, PrivateKeyFormat privateKeyFormat) Operation to generate a new set of credentials (private key and certificate) based on a given role using the PKI backend.Pki.issue(String roleName, String commonName, List<String> altNames, List<String> ipSans, String ttl, CredentialFormat format, String csr) Operation to generate a new set of credentials (private key and certificate) based on a given role using the PKI backend.Pki.issue(String roleName, String commonName, List<String> altNames, List<String> ipSans, String ttl, CredentialFormat format, String csr, PrivateKeyFormat privateKeyFormat) Operation to generate a new set of credentials or sign the embedded CSR, in the PKI backend.Operation to revike a certificate in the vault using the PKI backend. -
Uses of VaultException in io.github.jopenlibs.vault.api.sys
Methods in io.github.jopenlibs.vault.api.sys that throw VaultExceptionModifier and TypeMethodDescriptionWrapping.lookupWrap()Returns information about the current client token for a wrapped token, for which the lookup endpoint is at "sys/wrapping/lookup".Wrapping.lookupWrap(String wrappedToken) Returns information about the a wrapped token when authorization is needed for lookup, for which the lookup endpoint is at "sys/wrapping/lookup".Wrapping.lookupWrap(String wrappedToken, boolean inBody) Returns information about the a wrapped token, for which the lookup endpoint is at "sys/wrapping/lookup".Renews a given secret lease.Immediately revokes a secret associated with a given lease.Leases.revokeForce(String prefix) Revokes all secrets or tokens generated under a given prefix immediately.Leases.revokePrefix(String prefix) Revokes all secrets (via a lease ID prefix) or tokens (via the tokens' path property) generated under a given prefix immediately.Provide access to the/sys/wrapping/rewrapendpoint.Seal.seal()Seal the Vault.Seal.sealStatus()Check progress of unsealing the Vault.Enter a single master key share to progress the unsealing of the Vault.Enter a single master key share to progress the unsealing of the Vault.Wrapping.unwrap()Returns the original response inside the wrapped auth token.Provide access to the/sys/wrapping/unwrapendpoint.Provide access to the/sys/wrapping/unwrapendpoint.Wrapping.wrap(JsonObject jsonObject, int ttlInSec) Provide access to the/sys/wrapping/wrapendpoint. -
Uses of VaultException in io.github.jopenlibs.vault.api.sys.mounts
Methods in io.github.jopenlibs.vault.api.sys.mounts that throw VaultExceptionModifier and TypeMethodDescriptionOperation to disable secrets engine mount point of given path.Mounts.enable(String path, MountType type, MountPayload payload) Operation to enable secrets engine at given path.Mounts.list()Operation to list all the mounted secrets engines.Operation to read secrets engine mount point's configuration of given path.Mounts.tune(String path, MountPayload payload) Operation to tune secrets engine mount point's configuration of given path. -
Uses of VaultException in io.github.jopenlibs.vault.response
Constructors in io.github.jopenlibs.vault.response that throw VaultExceptionModifierConstructorDescriptionHealthResponse(RestResponse restResponse, int retries) Constructs aHealthResponseobject from the data received in a health check operation.