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.support |
Classes supporting the Vault packages, such as value objects.
|
Modifier and Type | Method and Description |
---|---|
VaultToken |
CubbyholeAuthenticationOptions.getInitialToken() |
VaultToken |
SessionManager.getSessionToken()
Obtain a session token.
|
VaultToken |
DefaultSessionManager.getSessionToken() |
VaultToken |
TokenAuthentication.login() |
VaultToken |
CubbyholeAuthentication.login() |
VaultToken |
ClientCertificateAuthentication.login() |
VaultToken |
ClientAuthentication.login()
Return a
VaultToken . |
VaultToken |
AwsEc2Authentication.login() |
VaultToken |
AppIdAuthentication.login() |
Modifier and Type | Method and Description |
---|---|
CubbyholeAuthenticationOptions.CubbyholeAuthenticationOptionsBuilder |
CubbyholeAuthenticationOptions.CubbyholeAuthenticationOptionsBuilder.initialToken(VaultToken initialToken)
Configures the initial
VaultToken to access Cubbyhole. |
Constructor and Description |
---|
TokenAuthentication(VaultToken token)
Creates a new
TokenAuthentication with a static token . |
Modifier and Type | Method and Description |
---|---|
static HttpHeaders |
VaultClient.createHeaders(VaultToken vaultToken)
Create
HttpHeaders for a VaultToken . |
<T,S extends T> |
VaultClient.deleteForEntity(String path,
VaultToken vaultToken,
Class<T> responseType)
Delete a resource by DELETEing from the path, and returns the response as
VaultResponseEntity . |
<T,S extends T> |
VaultClient.getForEntity(String path,
VaultToken vaultToken,
Class<T> responseType)
Retrieve a resource by GETting from the path, and returns the response as
VaultResponseEntity . |
<T,S extends T> |
VaultClient.postForEntity(String path,
VaultToken vaultToken,
Object request,
Class<T> responseType)
Issue a POST request using the given object to the path, and returns the response as
VaultResponseEntity . |
<T,S extends T> |
VaultClient.putForEntity(String path,
VaultToken vaultToken,
Object request,
Class<T> responseType)
Create a new resource by PUTting the given object to the path, and returns the response as
VaultResponseEntity . |
Modifier and Type | Method and Description |
---|---|
VaultTokenResponse |
VaultTokenTemplate.renew(VaultToken vaultToken) |
VaultTokenResponse |
VaultTokenOperations.renew(VaultToken vaultToken)
Renew a
VaultToken . |
void |
VaultTokenTemplate.revoke(VaultToken vaultToken) |
void |
VaultTokenOperations.revoke(VaultToken vaultToken)
Revoke a
VaultToken . |
void |
VaultTokenTemplate.revokeOrphan(VaultToken vaultToken) |
void |
VaultTokenOperations.revokeOrphan(VaultToken vaultToken)
Revoke a
VaultToken but not its child tokens. |
Modifier and Type | Method and Description |
---|---|
VaultToken |
VaultTokenResponse.getToken()
Returns a
VaultToken from the VaultResponse . |
static VaultToken |
VaultToken.of(String token)
Creates a new
VaultToken . |
static VaultToken |
VaultToken.of(String token,
long leaseDuration)
Creates a new
VaultToken with a leaseDuration . |
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.