Package | Description |
---|---|
org.springframework.vault.authentication |
Support for authentication and session management.
|
org.springframework.vault.client |
Spring Vault Client abstraction.
|
org.springframework.vault.core |
Vault core support.
|
org.springframework.vault.core.env |
Spring Vault's environment abstraction consisting property source support.
|
org.springframework.vault.support |
Classes supporting the Vault packages, such as value objects.
|
Modifier and Type | Class and Description |
---|---|
class |
VaultLoginException
Exception thrown if Vault login fails.
|
class |
VaultSessionManagerException
Abstract superclass for all exceptions thrown in the session manager implementations
|
class |
VaultTokenLookupException
Exception thrown if a token self-lookup fails via
auth/token/lookup-self . |
class |
VaultTokenRenewalException
Exception thrown when a Vault token renewal fails.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<VaultToken> |
CachingVaultTokenSupplier.getVaultToken() |
reactor.core.publisher.Mono<VaultToken> |
AuthenticationStepsOperator.getVaultToken() |
reactor.core.publisher.Mono<VaultToken> |
ReactiveLifecycleAwareSessionManager.getVaultToken() |
VaultToken |
AuthenticationStepsExecutor.login() |
VaultToken |
AwsIamAuthentication.login() |
LoginToken |
LoginTokenAdapter.login() |
VaultToken |
GcpIamAuthentication.login() |
VaultToken |
AwsEc2Authentication.login() |
VaultToken |
KubernetesAuthentication.login() |
VaultToken |
AzureMsiAuthentication.login() |
VaultToken |
GcpComputeAuthentication.login() |
VaultToken |
CubbyholeAuthentication.login() |
VaultToken |
ClientAuthentication.login()
Return a
VaultToken . |
Modifier and Type | Method and Description |
---|---|
static VaultException |
VaultResponses.buildException(HttpStatusCodeException e)
Build a
VaultException given HttpStatusCodeException . |
static VaultException |
VaultResponses.buildException(HttpStatusCodeException e,
String path)
|
static VaultException |
VaultResponses.buildException(HttpStatus statusCode,
String path,
String message) |
Modifier and Type | Method and Description |
---|---|
void |
VaultSysOperations.authMount(String path,
VaultMount vaultMount)
Mounts an auth backend
VaultMount to path . |
void |
VaultSysTemplate.authMount(String path,
VaultMount vaultMount) |
void |
VaultSysOperations.authUnmount(String path)
Unmounts the auth backend mount at
path . |
void |
VaultSysTemplate.authUnmount(String path) |
VaultTokenResponse |
VaultTokenOperations.create()
Create a new token.
|
VaultTokenResponse |
VaultTokenOperations.create(VaultTokenRequest request)
Create a new token for the given
VaultTokenRequest . |
void |
VaultSysOperations.createOrUpdatePolicy(String name,
Policy policy)
Create or update a
Policy . |
void |
VaultSysTemplate.createOrUpdatePolicy(String name,
Policy policy) |
void |
VaultSysOperations.deletePolicy(String name)
Delete a
Policy by its name. |
void |
VaultSysTemplate.deletePolicy(String name) |
<V,T extends org.reactivestreams.Publisher<V>> |
ReactiveVaultOperations.doWithSession(Function<WebClient,? extends T> sessionCallback)
Executes a Vault
RestOperationsCallback . |
<V,T extends org.reactivestreams.Publisher<V>> |
ReactiveVaultTemplate.doWithSession(Function<WebClient,? extends T> sessionCallback) |
<T> T |
VaultOperations.doWithSession(RestOperationsCallback<T> sessionCallback)
Executes a Vault
RestOperationsCallback . |
<V,T extends org.reactivestreams.Publisher<V>> |
ReactiveVaultOperations.doWithVault(Function<WebClient,? extends T> clientCallback)
Executes a Vault
RestOperationsCallback . |
<V,T extends org.reactivestreams.Publisher<V>> |
ReactiveVaultTemplate.doWithVault(Function<WebClient,? extends T> clientCallback) |
<T> T |
VaultOperations.doWithVault(RestOperationsCallback<T> clientCallback)
Executes a Vault
RestOperationsCallback . |
Map<String,VaultMount> |
VaultSysOperations.getAuthMounts() |
Map<String,VaultMount> |
VaultSysTemplate.getAuthMounts() |
InputStream |
VaultPkiOperations.getCrl(VaultPkiOperations.Encoding encoding)
Retrieves the current CRL in raw form.
|
InputStream |
VaultPkiTemplate.getCrl(VaultPkiOperations.Encoding encoding) |
Map<String,VaultMount> |
VaultSysOperations.getMounts() |
Policy |
VaultSysOperations.getPolicy(String name)
Read a
Policy by its name. |
Policy |
VaultSysTemplate.getPolicy(String name) |
List<String> |
VaultSysOperations.getPolicyNames()
Lists policy names stored in Vault.
|
List<String> |
VaultSysTemplate.getPolicyNames() |
VaultUnsealStatus |
VaultSysOperations.getUnsealStatus() |
VaultHealth |
VaultSysOperations.health()
Return the health status of Vault.
|
VaultInitializationResponse |
VaultSysOperations.initialize(VaultInitializationRequest vaultInitializationRequest)
Initialize Vault with a
VaultInitializationRequest . |
boolean |
VaultSysOperations.isInitialized() |
VaultCertificateResponse |
VaultPkiOperations.issueCertificate(String roleName,
VaultCertificateRequest certificateRequest)
Requests a certificate bundle (private key and certificate) from Vault's PKI
backend given a
roleName and VaultCertificateRequest . |
VaultCertificateResponse |
VaultPkiTemplate.issueCertificate(String roleName,
VaultCertificateRequest certificateRequest) |
void |
VaultSysOperations.mount(String path,
VaultMount vaultMount)
Mounts a secret backend
VaultMount to path . |
void |
VaultPkiOperations.revoke(String serialNumber)
Revokes a certificate using its serial number.
|
void |
VaultPkiTemplate.revoke(String serialNumber) |
void |
VaultSysOperations.seal()
Seal vault.
|
VaultSignCertificateRequestResponse |
VaultPkiOperations.signCertificateRequest(String roleName,
String csr,
VaultCertificateRequest certificateRequest)
|
VaultSignCertificateRequestResponse |
VaultPkiTemplate.signCertificateRequest(String roleName,
String csr,
VaultCertificateRequest certificateRequest) |
void |
VaultSysOperations.unmount(String path)
Unmounts the secret backend mount at
path . |
VaultUnsealStatus |
VaultSysOperations.unseal(String keyShare)
Unseal vault.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
VaultPropertySource.doGetProperties(String path)
Hook method to obtain properties from Vault.
|
Constructor and Description |
---|
AbstractResult(VaultException exception)
Create a
AbstractResult completed with an VaultException . |
VaultDecryptionResult(VaultException exception)
Create
VaultDecryptionResult for an error during decryption. |
VaultEncryptionResult(VaultException exception)
Create
VaultEncryptionResult for an error during encryption. |
Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.