- 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.
- 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
- 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.
- 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.
- getAddress() - Method in class com.bettercloud.vault.VaultConfig
-
- 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.
- getColumn() - Method in exception com.bettercloud.vault.json.ParseException
-
Returns the index of the character at which the error occurred, relative to the line.
- getData() - Method in class com.bettercloud.vault.response.LogicalResponse
-
- 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.
- 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.
- 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.
- getLeaseDuration() - Method in class com.bettercloud.vault.response.VaultResponse
-
- getLeaseId() - Method in class com.bettercloud.vault.response.VaultResponse
-
- 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.
- getMaxRetries() - Method in class com.bettercloud.vault.VaultConfig
-
- 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.
- getOffset() - Method in exception com.bettercloud.vault.json.ParseException
-
Returns the absolute index of the character at which the error occurred.
- getOpenTimeout() - Method in class com.bettercloud.vault.VaultConfig
-
- getReadTimeout() - Method in class com.bettercloud.vault.VaultConfig
-
- getRenewable() - Method in class com.bettercloud.vault.response.VaultResponse
-
- getRestResponse() - Method in class com.bettercloud.vault.response.VaultResponse
-
- getRetries() - Method in class com.bettercloud.vault.response.VaultResponse
-
- getRetryIntervalMilliseconds() - Method in class com.bettercloud.vault.VaultConfig
-
- getSslPemUTF8() - Method in class com.bettercloud.vault.VaultConfig
-
- 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.
- getToken() - Method in class com.bettercloud.vault.VaultConfig
-
- getUserId() - Method in class com.bettercloud.vault.response.AuthResponse
-
- getUsername() - Method in class com.bettercloud.vault.response.AuthResponse
-
- getValue() - Method in class com.bettercloud.vault.json.JsonObject.Member
-
Returns the value of this member.
- 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.
- isRenewable() - Method in class com.bettercloud.vault.response.AuthResponse
-
Deprecated.
- isSslVerify() - Method in class com.bettercloud.vault.VaultConfig
-
- isString() - Method in class com.bettercloud.vault.json.JsonValue
-
Detects whether this value represents a JSON string.
- 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.
- 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.
- setAppId(String) - Method in class com.bettercloud.vault.response.AuthResponse
-
- setAuthClientToken(String) - Method in class com.bettercloud.vault.response.AuthResponse
-
- setAuthLeaseDuration(int) - Method in class com.bettercloud.vault.response.AuthResponse
-
- setAuthPolicies(List<String>) - Method in class com.bettercloud.vault.response.AuthResponse
-
- setAuthRenewable(boolean) - Method in class com.bettercloud.vault.response.AuthResponse
-
- setData(Map<String, String>) - Method in class com.bettercloud.vault.response.LogicalResponse
-
- setLeaseDuration(Long) - Method in class com.bettercloud.vault.response.VaultResponse
-
- setLeaseId(String) - Method in class com.bettercloud.vault.response.VaultResponse
-
- setMaxRetries(int) - Method in class com.bettercloud.vault.VaultConfig
-
Sets the maximum number of times that an API operation will retry upon failure.
- setRenewable(boolean) - Method in class com.bettercloud.vault.response.AuthResponse
-
Deprecated.
- setRenewable(Boolean) - Method in class com.bettercloud.vault.response.VaultResponse
-
- setRestResponse(RestResponse) - Method in class com.bettercloud.vault.response.VaultResponse
-
- setRetries(int) - Method in class com.bettercloud.vault.response.VaultResponse
-
- 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.
- setUserId(String) - Method in class com.bettercloud.vault.response.AuthResponse
-
- setUsername(String) - Method in class com.bettercloud.vault.response.AuthResponse
-
- 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.
- sslPemFile(File) - Method in class com.bettercloud.vault.VaultConfig
-
An X.509 certificate, to use when communicating with Vault over HTTPS.
- sslPemResource(String) - Method in class com.bettercloud.vault.VaultConfig
-
An X.509 certificate, to use when communicating with Vault over HTTPS.
- sslPemUTF8(String) - Method in class com.bettercloud.vault.rest.Rest
-
An X.509 certificate, to use when communicating with Vault over HTTPS.
- sslPemUTF8(String) - Method in class com.bettercloud.vault.VaultConfig
-
An X.509 certificate, to use when communicating with Vault over HTTPS.
- 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.
- sslVerify(Boolean) - Method in class com.bettercloud.vault.VaultConfig
-
Whether or not HTTPS connections to the Vault server should verify that a valid SSL certificate is being
used.
- 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.
- 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.
- 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
-
Default constructor.
- VaultConfig(String, String) - Constructor for class com.bettercloud.vault.VaultConfig
-
A convenience constructor, for quickly creating a VaultConfig instance with its
address and token fields populated.
- VaultConfig(String) - Constructor for class com.bettercloud.vault.VaultConfig
-
A convenience constructor, for quickly creating a VaultConfig instance with its
address field populated.
- VaultConfig(String, String, VaultConfig.EnvironmentLoader) - Constructor for class com.bettercloud.vault.VaultConfig
-
An overloaded version of the normal convenience constructor, used by unit tests to inject a mock environment
variable loader and validate that loading logic.
- VaultConfig(String, VaultConfig.EnvironmentLoader) - Constructor for class com.bettercloud.vault.VaultConfig
-
An overloaded version of the normal convenience constructor, used by unit tests to inject a mock environment
variable loader and validate that loading logic.
- VaultConfig.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.
- VaultException - Exception in com.bettercloud.vault
-
- VaultException(String) - Constructor for exception com.bettercloud.vault.VaultException
-
- VaultException(Throwable) - Constructor for exception com.bettercloud.vault.VaultException
-
- 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
-