Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

add(int) - Method in class com.bettercloud.vault.json.JsonArray
Appends the JSON representation of the specified int value to the end of this array.
add(long) - Method in class com.bettercloud.vault.json.JsonArray
Appends the JSON representation of the specified long value to the end of this array.
add(float) - Method in class com.bettercloud.vault.json.JsonArray
Appends the JSON representation of the specified float value to the end of this array.
add(double) - Method in class com.bettercloud.vault.json.JsonArray
Appends the JSON representation of the specified double value to the end of this array.
add(boolean) - Method in class com.bettercloud.vault.json.JsonArray
Appends the JSON representation of the specified boolean value to the end of this array.
add(String) - Method in class com.bettercloud.vault.json.JsonArray
Appends the JSON representation of the specified string to the end of this array.
add(JsonValue) - Method in class com.bettercloud.vault.json.JsonArray
Appends the specified JSON value to the end of this array.
add(String, int) - Method in class com.bettercloud.vault.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified int value.
add(String, long) - Method in class com.bettercloud.vault.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified long value.
add(String, float) - Method in class com.bettercloud.vault.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified float value.
add(String, double) - Method in class com.bettercloud.vault.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified double value.
add(String, boolean) - Method in class com.bettercloud.vault.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified boolean value.
add(String, String) - Method in class com.bettercloud.vault.json.JsonObject
Appends a new member to the end of this object, with the specified name and the JSON representation of the specified string.
add(String, JsonValue) - Method in class com.bettercloud.vault.json.JsonObject
Appends a new member to the end of this object, with the specified name and the specified JSON value.
address(String) - Method in class com.bettercloud.vault.VaultConfig
Sets the address (URL) of the Vault server instance to which API calls should be sent.
allowAnyName(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
allowBareDomains(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
allowedDomains(List<String>) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
allowIpSans(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
allowLocalhost(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
allowSpiffeName(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
allowSubdomains(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
array() - Static method in class com.bettercloud.vault.json.Json
Creates a new empty JsonArray.
array(int...) - Static method in class com.bettercloud.vault.json.Json
Creates a new JsonArray that contains the JSON representations of the given int values.
array(long...) - Static method in class com.bettercloud.vault.json.Json
Creates a new JsonArray that contains the JSON representations of the given long values.
array(float...) - Static method in class com.bettercloud.vault.json.Json
Creates a new JsonArray that contains the JSON representations of the given float values.
array(double...) - Static method in class com.bettercloud.vault.json.Json
Creates a new JsonArray that contains the JSON representations of the given double values.
array(boolean...) - Static method in class com.bettercloud.vault.json.Json
Creates a new JsonArray that contains the JSON representations of the given boolean values.
array(String...) - Static method in class com.bettercloud.vault.json.Json
Creates a new JsonArray that contains the JSON representations of the given strings.
asArray() - Method in class com.bettercloud.vault.json.JsonArray
 
asArray() - Method in class com.bettercloud.vault.json.JsonValue
Returns this JSON value as JsonArray, assuming that this value represents a JSON array.
asBoolean() - Method in class com.bettercloud.vault.json.JsonValue
Returns this JSON value as a boolean value, assuming that this value is either true or false.
asDouble() - Method in class com.bettercloud.vault.json.JsonValue
Returns this JSON value as a double value, assuming that this value represents a JSON number.
asFloat() - Method in class com.bettercloud.vault.json.JsonValue
Returns this JSON value as a float value, assuming that this value represents a JSON number.
asInt() - Method in class com.bettercloud.vault.json.JsonValue
Returns this JSON value as an int value, assuming that this value represents a JSON number that can be interpreted as Java int.
asLong() - Method in class com.bettercloud.vault.json.JsonValue
Returns this JSON value as a long value, assuming that this value represents a JSON number that can be interpreted as Java long.
asObject() - Method in class com.bettercloud.vault.json.JsonObject
 
asObject() - Method in class com.bettercloud.vault.json.JsonValue
Returns this JSON value as JsonObject, assuming that this value represents a JSON object.
asString() - Method in class com.bettercloud.vault.json.JsonValue
Returns this JSON value as String, assuming that this value represents a JSON string.
Auth - Class in com.bettercloud.vault.api
The implementing class for operations on Vault's /v1/auth/* REST endpoints.
Auth(VaultConfig) - Constructor for class com.bettercloud.vault.api.Auth
 
auth() - Method in class com.bettercloud.vault.Vault
Returns the implementing class for operations on Vault's /v1/auth/* REST endpoints
Auth.TokenRequest - Class in com.bettercloud.vault.api
A container for all of the options that can be passed to the createToken(TokenRequest) method, to avoid that method having an excessive number of parameters (with null typically passed to most of them).
AuthResponse - Class in com.bettercloud.vault.response
This class is a container for the information returned by Vault in auth backend operations.
AuthResponse(RestResponse, int) - Constructor for class com.bettercloud.vault.response.AuthResponse
This constructor simply exposes the common base class constructor.

B

body(byte[]) - Method in class com.bettercloud.vault.rest.Rest
Sets a binary payload that will be sent as the request body for POST or PUT requests.
build() - Method in class com.bettercloud.vault.SslConfig
This is the terminating method in the builder pattern.
build() - Method in class com.bettercloud.vault.VaultConfig
This is the terminating method in the builder pattern.

C

certificate(String) - Method in class com.bettercloud.vault.api.pki.Credential
 
clientFlag(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
clientKeyPemFile(File) - Method in class com.bettercloud.vault.SslConfig
An RSA private key, for use with Vault's TLS Certificate auth backend.
clientKeyPemResource(String) - Method in class com.bettercloud.vault.SslConfig
An RSA private key, for use with Vault's TLS Certificate auth backend.
clientKeyPemUTF8(String) - Method in class com.bettercloud.vault.SslConfig
An RSA private key, for use with Vault's TLS Certificate auth backend.
clientPemFile(File) - Method in class com.bettercloud.vault.SslConfig
An X.509 client certificate, for use with Vault's TLS Certificate auth backend.
clientPemResource(String) - Method in class com.bettercloud.vault.SslConfig
An X.509 certificate, for use with Vault's TLS Certificate auth backend.
clientPemUTF8(String) - Method in class com.bettercloud.vault.SslConfig
An X.509 client certificate, for use with Vault's TLS Certificate auth backend.
codeSigningFlag(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
com.bettercloud.vault - package com.bettercloud.vault
The root package containing the primary Vault driver class.
com.bettercloud.vault.api - package com.bettercloud.vault.api
Classes implementing the various endpoints of the Vault HTTP API.
com.bettercloud.vault.api.pki - package com.bettercloud.vault.api.pki
 
com.bettercloud.vault.json - package com.bettercloud.vault.json
Intended for internal use by other classes within the Vault driver library.
com.bettercloud.vault.response - package com.bettercloud.vault.response
Containers of data returned by the various Vault API calls.
com.bettercloud.vault.rest - package com.bettercloud.vault.rest
Intended for internal use by other classes within the Vault driver library.
connectTimeoutSeconds(Integer) - Method in class com.bettercloud.vault.rest.Rest
The number of seconds to wait before giving up on establishing an HTTP(S) connection.
createOrUpdateRole(String) - Method in class com.bettercloud.vault.api.pki.Pki
Operation to create an role using the PKI backend.
createOrUpdateRole(String, RoleOptions) - Method in class com.bettercloud.vault.api.pki.Pki
Operation to create an role using the PKI backend.
createToken(Auth.TokenRequest) - Method in class com.bettercloud.vault.api.Auth
Operation to create an authentication token.
createToken(Auth.TokenRequest, String) - Method in class com.bettercloud.vault.api.Auth
Operation to create an authentication token.
createWriter(Writer) - Method in class com.bettercloud.vault.json.PrettyPrint
 
Credential - Class in com.bettercloud.vault.api.pki
A container for credential details returned endpoints on the PKI backend.
Credential() - Constructor for class com.bettercloud.vault.api.pki.Credential
 
CredentialFormat - Enum in com.bettercloud.vault.api.pki
Possible format options for credentials issued by the PKI backend.

D

Debug - Class in com.bettercloud.vault.api
The implementing class for operations on REST endpoints, under the "Debug" section of the Vault HTTP API docs (https://www.vaultproject.io/docs/http/index.html).
Debug(VaultConfig) - Constructor for class com.bettercloud.vault.api.Debug
 
debug() - Method in class com.bettercloud.vault.Vault
Returns the implementing class for Vault's debug operations (e.g.
delete(String) - Method in class com.bettercloud.vault.api.Logical
Deletes the key/value pair located at the provided path.
delete() - Method in class com.bettercloud.vault.rest.Rest
Executes an HTTP DELETE request with the settings already configured.
deleteRole(String) - Method in class com.bettercloud.vault.api.pki.Pki
Operation to delete an role using the PKI backend.
displayName(String) - Method in class com.bettercloud.vault.api.Auth.TokenRequest
 

E

emailProtectionFlag(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
enforceHostnames(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
EnvironmentLoader - Class in com.bettercloud.vault
The code used to load environment variables is encapsulated within an inner class, so that a mock version of that environment loader can be used by unit tests.
EnvironmentLoader() - Constructor for class com.bettercloud.vault.EnvironmentLoader
 
environmentLoader(EnvironmentLoader) - Method in class com.bettercloud.vault.SslConfig
The code used to load environment variables is encapsulated here, so that a mock version of that environment loader can be used by unit tests.
environmentLoader(EnvironmentLoader) - Method in class com.bettercloud.vault.VaultConfig
The code used to load environment variables is encapsulated here, so that a mock version of that environment loader can be used by unit tests.
equals(Object) - Method in class com.bettercloud.vault.json.JsonArray
 
equals(Object) - Method in class com.bettercloud.vault.json.JsonObject
 
equals(Object) - Method in class com.bettercloud.vault.json.JsonObject.Member
 
equals(Object) - Method in class com.bettercloud.vault.json.JsonValue
Indicates whether some other object is "equal to" this one according to the contract specified in Object.equals(Object).

F

FALSE - Static variable in class com.bettercloud.vault.json.Json
Represents the JSON literal false.
fromString(String) - Static method in enum com.bettercloud.vault.api.pki.CredentialFormat
 

G

get(int) - Method in class com.bettercloud.vault.json.JsonArray
Returns the value of the element at the specified position in this array.
get(String) - Method in class com.bettercloud.vault.json.JsonObject
Returns the value of the member with the specified name in this object.
get() - Method in class com.bettercloud.vault.rest.Rest
Executes an HTTP GET request with the settings already configured.
getAccessor() - Method in class com.bettercloud.vault.response.LookupResponse
 
getAllowAnyName() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getAllowBareDomains() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getAllowedDomains() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getAllowIpSans() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getAllowLocalhost() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getAllowSpiffename() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getAllowSubdomains() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getAppId() - Method in class com.bettercloud.vault.response.AuthResponse
 
getAuthClientToken() - Method in class com.bettercloud.vault.response.AuthResponse
 
getAuthLeaseDuration() - Method in class com.bettercloud.vault.response.AuthResponse
 
getAuthPolicies() - Method in class com.bettercloud.vault.response.AuthResponse
 
getBody() - Method in class com.bettercloud.vault.rest.RestResponse
 
getBoolean(String, boolean) - Method in class com.bettercloud.vault.json.JsonObject
Returns the boolean value of the member with the specified name in this object.
getCertificate() - Method in class com.bettercloud.vault.api.pki.Credential
 
getClientFlag() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getCodeSigningFlag() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getColumn() - Method in exception com.bettercloud.vault.json.ParseException
Returns the index of the character at which the error occurred, relative to the line.
getCreationTime() - Method in class com.bettercloud.vault.response.LookupResponse
 
getCreationTTL() - Method in class com.bettercloud.vault.response.LookupResponse
 
getCredential() - Method in class com.bettercloud.vault.response.PkiResponse
 
getData() - Method in class com.bettercloud.vault.response.LogicalResponse
 
getDisplayName() - Method in class com.bettercloud.vault.response.LookupResponse
 
getDouble(String, double) - Method in class com.bettercloud.vault.json.JsonObject
Returns the double value of the member with the specified name in this object.
getEmailProtectionFlag() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getEnforceHostnames() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getExplicitMaxTTL() - Method in class com.bettercloud.vault.response.LookupResponse
 
getFloat(String, float) - Method in class com.bettercloud.vault.json.JsonObject
Returns the float value of the member with the specified name in this object.
getHttpStatusCode() - Method in exception com.bettercloud.vault.VaultException
An HTTP status code, returned from a Vault server, that is the cause of this VaultException.
getId() - Method in class com.bettercloud.vault.response.LookupResponse
 
getInitialized() - Method in class com.bettercloud.vault.response.HealthResponse
 
getInt(String, int) - Method in class com.bettercloud.vault.json.JsonObject
Returns the int value of the member with the specified name in this object.
getIssuingCa() - Method in class com.bettercloud.vault.api.pki.Credential
 
getKeyBits() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getKeyType() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getKeyUsage() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getLastRenewalTime() - Method in class com.bettercloud.vault.response.LookupResponse
 
getLeaseDuration() - Method in class com.bettercloud.vault.response.LogicalResponse
 
getLeaseId() - Method in class com.bettercloud.vault.response.LogicalResponse
 
getLine() - Method in exception com.bettercloud.vault.json.ParseException
Returns the number of the line in which the error occurred.
getLong(String, long) - Method in class com.bettercloud.vault.json.JsonObject
Returns the long value of the member with the specified name in this object.
getMaxTtl() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getMimeType() - Method in class com.bettercloud.vault.rest.RestResponse
 
getName() - Method in class com.bettercloud.vault.json.JsonObject.Member
Returns the name of this member.
getNumberOfShares() - Method in class com.bettercloud.vault.response.SealResponse
 
getNumUses() - Method in class com.bettercloud.vault.response.LookupResponse
 
getOffset() - Method in exception com.bettercloud.vault.json.ParseException
Returns the absolute index of the character at which the error occurred.
getPath() - Method in class com.bettercloud.vault.response.LookupResponse
 
getPolicies() - Method in class com.bettercloud.vault.response.LookupResponse
 
getPrivateKey() - Method in class com.bettercloud.vault.api.pki.Credential
 
getPrivateKeyType() - Method in class com.bettercloud.vault.api.pki.Credential
 
getProgress() - Method in class com.bettercloud.vault.response.SealResponse
 
getRenewable() - Method in class com.bettercloud.vault.response.AuthResponse
 
getRenewable() - Method in class com.bettercloud.vault.response.LogicalResponse
 
getRestResponse() - Method in class com.bettercloud.vault.response.HealthResponse
 
getRestResponse() - Method in class com.bettercloud.vault.response.VaultResponse
 
getRetries() - Method in class com.bettercloud.vault.response.HealthResponse
 
getRetries() - Method in class com.bettercloud.vault.response.VaultResponse
 
getRole(String) - Method in class com.bettercloud.vault.api.pki.Pki
Operation to retrieve an role using the PKI backend.
getRoleOptions() - Method in class com.bettercloud.vault.response.PkiResponse
 
getSealed() - Method in class com.bettercloud.vault.response.HealthResponse
 
getSealed() - Method in class com.bettercloud.vault.response.SealResponse
 
getSerialNumber() - Method in class com.bettercloud.vault.api.pki.Credential
 
getServerFlag() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getServerTimeUTC() - Method in class com.bettercloud.vault.response.HealthResponse
 
getStandby() - Method in class com.bettercloud.vault.response.HealthResponse
 
getStatus() - Method in class com.bettercloud.vault.rest.RestResponse
 
getString(String, String) - Method in class com.bettercloud.vault.json.JsonObject
Returns the String value of the member with the specified name in this object.
getThreshold() - Method in class com.bettercloud.vault.response.SealResponse
 
getTtl() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getTTL() - Method in class com.bettercloud.vault.response.LookupResponse
 
getUseCsrCommonName() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getUseCsrSans() - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
getUserId() - Method in class com.bettercloud.vault.response.AuthResponse
 
getUsername() - Method in class com.bettercloud.vault.response.AuthResponse
 
getUsername() - Method in class com.bettercloud.vault.response.LookupResponse
 
getValue() - Method in class com.bettercloud.vault.json.JsonObject.Member
Returns the value of this member.

H

hashCode() - Method in class com.bettercloud.vault.json.JsonArray
 
hashCode() - Method in class com.bettercloud.vault.json.JsonObject
 
hashCode() - Method in class com.bettercloud.vault.json.JsonObject.Member
 
hashCode() - Method in class com.bettercloud.vault.json.JsonValue
 
header(String, String) - Method in class com.bettercloud.vault.rest.Rest
Adds a header to be send with the HTTP request.
health() - Method in class com.bettercloud.vault.api.Debug
Returns the health status of Vault.
health(Boolean, Integer, Integer, Integer) - Method in class com.bettercloud.vault.api.Debug
An overloaded version of Debug.health() that allows for passing one or more optional parameters.
HealthResponse - Class in com.bettercloud.vault.response
This class is a container for the information returned by Vault in v1/sys/health operations.
HealthResponse(RestResponse, int) - Constructor for class com.bettercloud.vault.response.HealthResponse
Constructs a HealthResponse object from the data received in a health check operation.

I

id(UUID) - Method in class com.bettercloud.vault.api.Auth.TokenRequest
 
indentWithSpaces(int) - Static method in class com.bettercloud.vault.json.PrettyPrint
Print every value on a separate line.
indentWithTabs() - Static method in class com.bettercloud.vault.json.PrettyPrint
Do not break lines, but still insert whitespace between values.
isArray() - Method in class com.bettercloud.vault.json.JsonArray
 
isArray() - Method in class com.bettercloud.vault.json.JsonValue
Detects whether this value represents a JSON array.
isAuthRenewable() - Method in class com.bettercloud.vault.response.AuthResponse
 
isBoolean() - Method in class com.bettercloud.vault.json.JsonValue
Detects whether this value represents a boolean value.
isEmpty() - Method in class com.bettercloud.vault.json.JsonArray
Returns true if this array contains no elements.
isEmpty() - Method in class com.bettercloud.vault.json.JsonObject
Returns true if this object contains no members.
isFalse() - Method in class com.bettercloud.vault.json.JsonValue
Detects whether this value represents the JSON literal false.
isNull() - Method in class com.bettercloud.vault.json.JsonValue
Detects whether this value represents the JSON literal null.
isNumber() - Method in class com.bettercloud.vault.json.JsonValue
Detects whether this value represents a JSON number.
isObject() - Method in class com.bettercloud.vault.json.JsonObject
 
isObject() - Method in class com.bettercloud.vault.json.JsonValue
Detects whether this value represents a JSON object.
isOrphan() - Method in class com.bettercloud.vault.response.LookupResponse
 
isRenewable() - Method in class com.bettercloud.vault.response.LookupResponse
 
isString() - Method in class com.bettercloud.vault.json.JsonValue
Detects whether this value represents a JSON string.
issue(String, String, List<String>, List<String>, String, CredentialFormat) - Method in class com.bettercloud.vault.api.pki.Pki
Operation to generate a new set of credentials (private key and certificate) based on a given role using the PKI backend.
issue(String, String, List<String>, List<String>, String, CredentialFormat, String) - Method in class com.bettercloud.vault.api.pki.Pki
Operation to generate a new set of credentials or sign the embedded CSR, in the PKI backend.
issuingCa(String) - Method in class com.bettercloud.vault.api.pki.Credential
 
isTrue() - Method in class com.bettercloud.vault.json.JsonValue
Detects whether this value represents the JSON literal true.
iterator() - Method in class com.bettercloud.vault.json.JsonArray
Returns an iterator over the values of this array in document order.
iterator() - Method in class com.bettercloud.vault.json.JsonObject
Returns an iterator over the members of this object in document order.

J

Json - Class in com.bettercloud.vault.json
This class serves as the entry point to the minimal-json API.
JsonArray - Class in com.bettercloud.vault.json
Represents a JSON array, an ordered collection of JSON values.
JsonArray() - Constructor for class com.bettercloud.vault.json.JsonArray
Creates a new empty JsonArray.
JsonArray(JsonArray) - Constructor for class com.bettercloud.vault.json.JsonArray
Creates a new JsonArray with the contents of the specified JSON array.
JsonObject - Class in com.bettercloud.vault.json
Represents a JSON object, a set of name/value pairs, where the names are strings and the values are JSON values.
JsonObject() - Constructor for class com.bettercloud.vault.json.JsonObject
Creates a new empty JsonObject.
JsonObject(JsonObject) - Constructor for class com.bettercloud.vault.json.JsonObject
Creates a new JsonObject, initialized with the contents of the specified JSON object.
JsonObject.Member - Class in com.bettercloud.vault.json
Represents a member of a JSON object, a pair of a name and a value.
JsonValue - Class in com.bettercloud.vault.json
Represents a JSON value.

K

keyBits(Long) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
keyStore(KeyStore, String) - Method in class com.bettercloud.vault.SslConfig
A Java keystore, containing a client certificate that's registered with Vault's TLS Certificate auth backend.
keyStoreFile(File, String) - Method in class com.bettercloud.vault.SslConfig
A Java keystore, containing a client certificate that's registered with Vault's TLS Certificate auth backend.
keyStoreResource(String, String) - Method in class com.bettercloud.vault.SslConfig
A Java keystore, containing a client certificate that's registered with Vault's TLS Certificate auth backend.
keyType(String) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
keyUsage(List<String>) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 

L

Leases - Class in com.bettercloud.vault.api
The implementing class for operations on REST endpoints, under the "Leases" section of the Vault HTTP API docs (https://www.vaultproject.io/docs/http/index.html).
Leases(VaultConfig) - Constructor for class com.bettercloud.vault.api.Leases
 
leases() - Method in class com.bettercloud.vault.Vault
Returns the implementing class for Vault's lease operations (e.g.
list(String) - Method in class com.bettercloud.vault.api.Logical
Retrieve a list of keys corresponding to key/value pairs at a given Vault path.
loadVariable(String) - Method in class com.bettercloud.vault.EnvironmentLoader
 
Logical - Class in com.bettercloud.vault.api
The implementing class for Vault's core/logical operations (e.g.
Logical(VaultConfig) - Constructor for class com.bettercloud.vault.api.Logical
 
logical() - Method in class com.bettercloud.vault.Vault
Returns the implementing class for Vault's core/logical operations (e.g.
LogicalResponse - Class in com.bettercloud.vault.response
This class is a container for the information returned by Vault in logical API operations (e.g.
LogicalResponse(RestResponse, int) - Constructor for class com.bettercloud.vault.response.LogicalResponse
 
loginByAppID(String, String, String) - Method in class com.bettercloud.vault.api.Auth
Deprecated.
loginByAppRole(String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to an app-role backend.
loginByAppRole(String, String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to an app-role backend.
loginByAwsEc2(String, String, String, String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to a AWS backend using EC2 authentication.
loginByAwsEc2(String, String, String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to a AWS backend using EC2 authentication.
loginByAwsIam(String, String, String, String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to a AWS backend using IAM authentication.
loginByCert() - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate using Vault's TLS Certificate auth backend.
loginByCert(String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate using Vault's TLS Certificate auth backend.
loginByGCP(String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to an GCP backend.
loginByGithub(String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to an github backend.
loginByGithub(String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to an github backend.
loginByLDAP(String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to a LDAP backend.
loginByLDAP(String, String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to a LDAP backend.
loginByUserPass(String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to a Username & Password backend.
loginByUserPass(String, String, String) - Method in class com.bettercloud.vault.api.Auth
Basic login operation to authenticate to a Username & Password backend.
LookupResponse - Class in com.bettercloud.vault.response
This class is a container for the information returned by Vault in lookup operations on auth backends.
LookupResponse(RestResponse, int) - Constructor for class com.bettercloud.vault.response.LookupResponse
This constructor simply exposes the common base class constructor.
lookupSelf() - Method in class com.bettercloud.vault.api.Auth
Returns information about the current client token.
lookupSelf(String) - Method in class com.bettercloud.vault.api.Auth
Returns information about the current client token.
lookupWrap() - Method in class com.bettercloud.vault.api.Auth
Returns information about the current client token for a wrapped token, for which the lookup endpoint is different at "sys/wrapping/lookup".

M

maxTtl(String) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
merge(JsonObject) - Method in class com.bettercloud.vault.json.JsonObject
Copies all members of the specified object into this object.
meta(Map<String, String>) - Method in class com.bettercloud.vault.api.Auth.TokenRequest
 
MINIMAL - Static variable in class com.bettercloud.vault.json.WriterConfig
Write JSON in its minimal form, without any additional whitespace.

N

names() - Method in class com.bettercloud.vault.json.JsonObject
Returns a list of the names in this object in document order.
noDefaultPolicy(Boolean) - Method in class com.bettercloud.vault.api.Auth.TokenRequest
 
noParent(Boolean) - Method in class com.bettercloud.vault.api.Auth.TokenRequest
 
NULL - Static variable in class com.bettercloud.vault.json.Json
Represents the JSON literal null.
numUses(Long) - Method in class com.bettercloud.vault.api.Auth.TokenRequest
 

O

object() - Static method in class com.bettercloud.vault.json.Json
Creates a new empty JsonObject.
openTimeout(Integer) - Method in class com.bettercloud.vault.VaultConfig
The number of seconds to wait before giving up on establishing an HTTP(S) connection to the Vault server.

P

parameter(String, String) - Method in class com.bettercloud.vault.rest.Rest
Adds a parameter to be sent with the HTTP request.
parse(String) - Static method in class com.bettercloud.vault.json.Json
Parses the given input string as JSON.
parse(Reader) - Static method in class com.bettercloud.vault.json.Json
Reads the entire input stream from the given reader and parses it as JSON.
ParseException - Exception in com.bettercloud.vault.json
An unchecked exception to indicate that an input does not qualify as valid JSON.
pemFile(File) - Method in class com.bettercloud.vault.SslConfig
An X.509 certificate, to use when communicating with Vault over HTTPS.
pemResource(String) - Method in class com.bettercloud.vault.SslConfig
An X.509 certificate, to use when communicating with Vault over HTTPS.
pemUTF8(String) - Method in class com.bettercloud.vault.SslConfig
An X.509 certificate, to use when communicating with Vault over HTTPS.
Pki - Class in com.bettercloud.vault.api.pki
The implementing class for operations on Vault's PKI backend.
Pki(VaultConfig) - Constructor for class com.bettercloud.vault.api.pki.Pki
Constructor for use when the PKI backend is mounted on the default path (i.e.
Pki(VaultConfig, String) - Constructor for class com.bettercloud.vault.api.pki.Pki
Constructor for use when the PKI backend is mounted on some non-default custom path (e.g.
pki() - Method in class com.bettercloud.vault.Vault
Returns the implementing class for Vault's PKI secret backend (i.e.
pki(String) - Method in class com.bettercloud.vault.Vault
Returns the implementing class for Vault's PKI secret backend, using a custom path when that backend is mounted on something other than the default (i.e.
PkiResponse - Class in com.bettercloud.vault.response
This class is a container for the information returned by Vault in PKI backend API operations (e.g.
PkiResponse(RestResponse, int) - Constructor for class com.bettercloud.vault.response.PkiResponse
 
polices(List<String>) - Method in class com.bettercloud.vault.api.Auth.TokenRequest
 
post() - Method in class com.bettercloud.vault.rest.Rest
Executes an HTTP POST request with the settings already configured.
PRETTY_PRINT - Static variable in class com.bettercloud.vault.json.WriterConfig
Write JSON in pretty-print, with each value on a separate line and an indentation of two spaces.
PrettyPrint - Class in com.bettercloud.vault.json
Enables human readable JSON output by inserting whitespace between values.after commas and colons.
PrettyPrint(char[]) - Constructor for class com.bettercloud.vault.json.PrettyPrint
 
privateKey(String) - Method in class com.bettercloud.vault.api.pki.Credential
 
privateKeyType(String) - Method in class com.bettercloud.vault.api.pki.Credential
 
put() - Method in class com.bettercloud.vault.rest.Rest
Executes an HTTP PUT request with the settings already configured.

R

read(String) - Method in class com.bettercloud.vault.api.Logical
Basic read operation to retrieve a secret.
read(String, boolean) - Method in class com.bettercloud.vault.api.Logical
 
readTimeout(Integer) - Method in class com.bettercloud.vault.VaultConfig
After an HTTP(S) connection has already been established, this is the number of seconds to wait for all data to finish downloading.
readTimeoutSeconds(Integer) - Method in class com.bettercloud.vault.rest.Rest
After an HTTP(S) connection has already been established, this is the number of seconds to wait for all data to finish downloading.
remove(int) - Method in class com.bettercloud.vault.json.JsonArray
Removes the element at the specified index from this array.
remove(String) - Method in class com.bettercloud.vault.json.JsonObject
Removes a member with the specified name from this object.
renew(String, long) - Method in class com.bettercloud.vault.api.Leases
Renews a given secret lease.
renewSelf() - Method in class com.bettercloud.vault.api.Auth
Renews the lease associated with the calling token.
renewSelf(long) - Method in class com.bettercloud.vault.api.Auth
Renews the lease associated with the calling token.
renewSelf(long, String) - Method in class com.bettercloud.vault.api.Auth
Renews the lease associated with the calling token.
Rest - Class in com.bettercloud.vault.rest
A simple client for issuing HTTP requests.
Rest() - Constructor for class com.bettercloud.vault.rest.Rest
 
RestException - Exception in com.bettercloud.vault.rest
 
RestException(String) - Constructor for exception com.bettercloud.vault.rest.RestException
 
RestException(Throwable) - Constructor for exception com.bettercloud.vault.rest.RestException
 
RestResponse - Class in com.bettercloud.vault.rest
This class contains the metadata and data that was downloaded by Rest from an HTTP response.
RestResponse(int, String, byte[]) - Constructor for class com.bettercloud.vault.rest.RestResponse
 
revoke(String) - Method in class com.bettercloud.vault.api.Leases
Immediately revokes a secret associated with a given lease.
revoke(String) - Method in class com.bettercloud.vault.api.pki.Pki
Operation to revike a certificate in the vault using the PKI backend.
revokeForce(String) - Method in class com.bettercloud.vault.api.Leases
Revokes all secrets or tokens generated under a given prefix immediately.
revokePrefix(String) - Method in class com.bettercloud.vault.api.Leases
Revokes all secrets (via a lease ID prefix) or tokens (via the tokens' path property) generated under a given prefix immediately.
revokeSelf() - Method in class com.bettercloud.vault.api.Auth
Revokes current client token.
revokeSelf(String) - Method in class com.bettercloud.vault.api.Auth
Revokes current client token.
role(String) - Method in class com.bettercloud.vault.api.Auth.TokenRequest
 
RoleOptions - Class in com.bettercloud.vault.api.pki
A container for options sent to and returned by role-related endpoints on the PKI backend.
RoleOptions() - Constructor for class com.bettercloud.vault.api.pki.RoleOptions
 

S

Seal - Class in com.bettercloud.vault.api
The implementing class for operations on REST endpoints, under the "seal/unseal/seal-status" section of the Vault HTTP API docs (https://www.vaultproject.io/api/system/index.html).
Seal(VaultConfig) - Constructor for class com.bettercloud.vault.api.Seal
 
seal() - Method in class com.bettercloud.vault.api.Seal
Seal the Vault.
seal() - Method in class com.bettercloud.vault.Vault
Returns the implementing class for Vault's seal operations (e.g.
SealResponse - Class in com.bettercloud.vault.response
This class is a container for the information returned by Vault in v1/sys/*seal* operations.
SealResponse(RestResponse, int) - Constructor for class com.bettercloud.vault.response.SealResponse
This constructor simply exposes the common base class constructor.
sealStatus() - Method in class com.bettercloud.vault.api.Seal
Check progress of unsealing the Vault.
serialNumber(String) - Method in class com.bettercloud.vault.api.pki.Credential
 
serverFlag(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
set(int, int) - Method in class com.bettercloud.vault.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified int value.
set(int, long) - Method in class com.bettercloud.vault.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified long value.
set(int, float) - Method in class com.bettercloud.vault.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified float value.
set(int, double) - Method in class com.bettercloud.vault.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified double value.
set(int, boolean) - Method in class com.bettercloud.vault.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified boolean value.
set(int, String) - Method in class com.bettercloud.vault.json.JsonArray
Replaces the element at the specified position in this array with the JSON representation of the specified string.
set(int, JsonValue) - Method in class com.bettercloud.vault.json.JsonArray
Replaces the element at the specified position in this array with the specified JSON value.
set(String, int) - Method in class com.bettercloud.vault.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified int value.
set(String, long) - Method in class com.bettercloud.vault.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified long value.
set(String, float) - Method in class com.bettercloud.vault.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified float value.
set(String, double) - Method in class com.bettercloud.vault.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified double value.
set(String, boolean) - Method in class com.bettercloud.vault.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified boolean value.
set(String, String) - Method in class com.bettercloud.vault.json.JsonObject
Sets the value of the member with the specified name to the JSON representation of the specified string.
set(String, JsonValue) - Method in class com.bettercloud.vault.json.JsonObject
Sets the value of the member with the specified name to the specified JSON value.
setMaxRetries(int) - Method in class com.bettercloud.vault.VaultConfig
Sets the maximum number of times that an API operation will retry upon failure.
setRetryIntervalMilliseconds(int) - Method in class com.bettercloud.vault.VaultConfig
Sets the period of time (in milliseconds) that the driver will wait in between retry attempts for a failing API operation.
singleLine() - Static method in class com.bettercloud.vault.json.PrettyPrint
Print every value on a separate line.
size() - Method in class com.bettercloud.vault.json.JsonArray
Returns the number of elements in this array.
size() - Method in class com.bettercloud.vault.json.JsonObject
Returns the number of members (name/value pairs) in this object.
SslConfig - Class in com.bettercloud.vault
A container for SSL-related configuration options, meant to be stored within a VaultConfig instance.
SslConfig() - Constructor for class com.bettercloud.vault.SslConfig
 
sslConfig(SslConfig) - Method in class com.bettercloud.vault.VaultConfig
A container for SSL-related configuration options (e.g.
sslContext(SSLContext) - Method in class com.bettercloud.vault.rest.Rest
An SSLContext, as constructed by SslConfig within a VaultConfig object.
sslVerification(Boolean) - Method in class com.bettercloud.vault.rest.Rest
Whether or not HTTPS connections should verify that the server has a valid SSL certificate.

T

token(String) - Method in class com.bettercloud.vault.VaultConfig
Sets the token used to access Vault.
TokenRequest() - Constructor for class com.bettercloud.vault.api.Auth.TokenRequest
 
toString() - Method in enum com.bettercloud.vault.api.pki.CredentialFormat
 
toString() - Method in class com.bettercloud.vault.json.JsonValue
Returns the JSON string for this value in its minimal form, without any additional whitespace.
toString(WriterConfig) - Method in class com.bettercloud.vault.json.JsonValue
Returns the JSON string for this value using the given formatting.
TRUE - Static variable in class com.bettercloud.vault.json.Json
Represents the JSON literal true.
trustStore(KeyStore) - Method in class com.bettercloud.vault.SslConfig
A Java keystore, containing the X509 certificate used by Vault.
trustStoreFile(File) - Method in class com.bettercloud.vault.SslConfig
A Java keystore, containing the X509 certificate used by Vault.
trustStoreResource(String) - Method in class com.bettercloud.vault.SslConfig
A Java keystore, containing the X509 certificate used by Vault.
ttl(String) - Method in class com.bettercloud.vault.api.Auth.TokenRequest
 
ttl(String) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 

U

unmodifiableArray(JsonArray) - Static method in class com.bettercloud.vault.json.JsonArray
Returns an unmodifiable wrapper for the specified JsonArray.
unmodifiableObject(JsonObject) - Static method in class com.bettercloud.vault.json.JsonObject
Returns an unmodifiable JsonObject for the specified one.
unseal(String) - Method in class com.bettercloud.vault.api.Seal
Enter a single master key share to progress the unsealing of the Vault.
unseal(String, Boolean) - Method in class com.bettercloud.vault.api.Seal
Enter a single master key share to progress the unsealing of the Vault.
unwrap() - Method in class com.bettercloud.vault.api.Auth
Returns the original response inside the wrapped auth token.
unwrap(String) - Method in class com.bettercloud.vault.api.Auth
Returns the original response inside the given wrapped auth token.
url(String) - Method in class com.bettercloud.vault.rest.Rest
Sets the base URL to which the HTTP request will be sent.
useCsrCommonName(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 
useCsrSans(Boolean) - Method in class com.bettercloud.vault.api.pki.RoleOptions
 

V

value(int) - Static method in class com.bettercloud.vault.json.Json
Returns a JsonValue instance that represents the given int value.
value(long) - Static method in class com.bettercloud.vault.json.Json
Returns a JsonValue instance that represents the given long value.
value(float) - Static method in class com.bettercloud.vault.json.Json
Returns a JsonValue instance that represents the given float value.
value(double) - Static method in class com.bettercloud.vault.json.Json
Returns a JsonValue instance that represents the given double value.
value(String) - Static method in class com.bettercloud.vault.json.Json
Returns a JsonValue instance that represents the given string.
value(boolean) - Static method in class com.bettercloud.vault.json.Json
Returns a JsonValue instance that represents the given boolean value.
valueOf(String) - Static method in enum com.bettercloud.vault.api.pki.CredentialFormat
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.bettercloud.vault.api.pki.CredentialFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.bettercloud.vault.json.JsonArray
Returns a list of the values in this array in document order.
Vault - Class in com.bettercloud.vault
The Vault driver class, the primary interface through which dependent applications will access Vault.
Vault(VaultConfig) - Constructor for class com.bettercloud.vault.Vault
Construct a Vault driver instance with the provided config settings.
VAULT_TOKEN - Static variable in class com.bettercloud.vault.VaultConfig
 
VaultConfig - Class in com.bettercloud.vault
A container for the configuration settings needed to initialize a Vault driver instance.
VaultConfig() - Constructor for class com.bettercloud.vault.VaultConfig
 
VaultException - Exception in com.bettercloud.vault
 
VaultException(String) - Constructor for exception com.bettercloud.vault.VaultException
 
VaultException(Throwable) - Constructor for exception com.bettercloud.vault.VaultException
 
VaultException(String, int) - Constructor for exception com.bettercloud.vault.VaultException
Use this constructor to generate a VaultException instance that is based on receiving a particular HTTP status code from a Vault server (e.g.
VaultException(Throwable, int) - Constructor for exception com.bettercloud.vault.VaultException
Use this constructor to generate a VaultException instance that is based on receiving a particular HTTP status code from a Vault server (e.g.
VaultResponse - Class in com.bettercloud.vault.response
VaultResponse is a common base class for the response objects returned by all API methods.
VaultResponse(RestResponse, int) - Constructor for class com.bettercloud.vault.response.VaultResponse
 
verify(Boolean) - Method in class com.bettercloud.vault.SslConfig
Whether or not HTTPS connections to the Vault server should verify that a valid SSL certificate is being used.

W

withRetries(int, int) - Method in class com.bettercloud.vault.Vault
This method is chained ahead of endpoints (e.g.
write(String, Map<String, Object>) - Method in class com.bettercloud.vault.api.Logical
Basic operation to store secrets.
WriterConfig - Class in com.bettercloud.vault.json
Controls the formatting of the JSON output.
WriterConfig() - Constructor for class com.bettercloud.vault.json.WriterConfig
 
writeTo(Writer) - Method in class com.bettercloud.vault.json.JsonValue
Writes the JSON representation of this value to the given writer in its minimal form, without any additional whitespace.
writeTo(Writer, WriterConfig) - Method in class com.bettercloud.vault.json.JsonValue
Writes the JSON representation of this value to the given writer using the given formatting.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links