- close() - Method in class de.stklcode.jvault.connector.HTTPVaultConnector
-
- ConnectionException - Exception in de.stklcode.jvault.connector.exception
-
Exception thrown on problems with connection to Vault backend.
- ConnectionException() - Constructor for exception de.stklcode.jvault.connector.exception.ConnectionException
-
Constructs a new empty exception.
- ConnectionException(String) - Constructor for exception de.stklcode.jvault.connector.exception.ConnectionException
-
Constructs a new exception with the specified detail message.
- ConnectionException(Throwable) - Constructor for exception de.stklcode.jvault.connector.exception.ConnectionException
-
Constructs a new exception with the specified cause.
- ConnectionException(String, Throwable) - Constructor for exception de.stklcode.jvault.connector.exception.ConnectionException
-
Constructs a new exception with the specified detail message and cause.
- createAppRole(AppRole) - Method in class de.stklcode.jvault.connector.HTTPVaultConnector
-
- createAppRole(AppRole) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Register a new AppRole role from given metamodel.
- createAppRole(String) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Register new AppRole role with default policy.
- createAppRole(String, List<String>) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Register new AppRole role with policies.
- createAppRole(String, String) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Register new AppRole role with default policy and custom ID.
- createAppRole(String, List<String>, String) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Register new AppRole role with policies and custom ID.
- createAppRoleSecret(String, AppRoleSecret) - Method in class de.stklcode.jvault.connector.HTTPVaultConnector
-
- createAppRoleSecret(String) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Register new random generated AppRole secret.
- createAppRoleSecret(String, String) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Register new AppRole secret with custom ID.
- createAppRoleSecret(String, AppRoleSecret) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Register new AppRole secret with custom ID.
- createToken(Token) - Method in class de.stklcode.jvault.connector.HTTPVaultConnector
-
- createToken(Token, boolean) - Method in class de.stklcode.jvault.connector.HTTPVaultConnector
-
- createToken(Token, String) - Method in class de.stklcode.jvault.connector.HTTPVaultConnector
-
- createToken(Token) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Create a new token.
- createToken(Token, boolean) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Create a new token.
- createToken(Token, String) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Create a new token for specific role.
- CredentialsResponse - Class in de.stklcode.jvault.connector.model.response
-
Vault response from credentials lookup.
- CredentialsResponse() - Constructor for class de.stklcode.jvault.connector.model.response.CredentialsResponse
-
- HealthResponse - Class in de.stklcode.jvault.connector.model.response
-
Vault response for health query.
- HealthResponse() - Constructor for class de.stklcode.jvault.connector.model.response.HealthResponse
-
- HelpResponse - Class in de.stklcode.jvault.connector.model.response
-
Vault response for help request.
- HelpResponse() - Constructor for class de.stklcode.jvault.connector.model.response.HelpResponse
-
- httpFactory() - Static method in class de.stklcode.jvault.connector.factory.VaultConnectorFactory
-
Get Factory implementation for HTTP Vault Connector.
- HTTPVaultConnector - Class in de.stklcode.jvault.connector
-
Vault Connector implementatin using Vault's HTTP API.
- HTTPVaultConnector(String, boolean) - Constructor for class de.stklcode.jvault.connector.HTTPVaultConnector
-
Create connector using hostname and schema.
- HTTPVaultConnector(String, boolean, Integer) - Constructor for class de.stklcode.jvault.connector.HTTPVaultConnector
-
Create connector using hostname, schema and port.
- HTTPVaultConnector(String, boolean, Integer, String) - Constructor for class de.stklcode.jvault.connector.HTTPVaultConnector
-
Create connector using hostname, schema, port and path.
- HTTPVaultConnector(String, boolean, Integer, String, SSLContext) - Constructor for class de.stklcode.jvault.connector.HTTPVaultConnector
-
Create connector using hostname, schema, port, path and trusted certificate.
- HTTPVaultConnector(String, boolean, Integer, String, SSLContext, int, Integer) - Constructor for class de.stklcode.jvault.connector.HTTPVaultConnector
-
Create connector using hostname, schema, port, path and trusted certificate.
- HTTPVaultConnector(String) - Constructor for class de.stklcode.jvault.connector.HTTPVaultConnector
-
Create connector using full URL.
- HTTPVaultConnector(String, SSLContext) - Constructor for class de.stklcode.jvault.connector.HTTPVaultConnector
-
Create connector using full URL and trusted certificate.
- HTTPVaultConnector(String, SSLContext, int) - Constructor for class de.stklcode.jvault.connector.HTTPVaultConnector
-
Create connector using full URL and trusted certificate.
- HTTPVaultConnector(String, SSLContext, int, Integer) - Constructor for class de.stklcode.jvault.connector.HTTPVaultConnector
-
Create connector using full URL and trusted certificate.
- HTTPVaultConnectorFactory - Class in de.stklcode.jvault.connector.factory
-
Vault Connector Factory implementation for HTTP Vault connectors.
- HTTPVaultConnectorFactory() - Constructor for class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Default empty constructor.
- InvalidRequestException - Exception in de.stklcode.jvault.connector.exception
-
Exception thrown when trying to send malformed request.
- InvalidRequestException() - Constructor for exception de.stklcode.jvault.connector.exception.InvalidRequestException
-
Constructs a new empty exception.
- InvalidRequestException(String) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidRequestException
-
Constructs a new exception with the specified detail message.
- InvalidRequestException(Throwable) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidRequestException
-
Constructs a new exception with the specified cause.
- InvalidRequestException(String, Throwable) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidRequestException
-
Constructs a new exception with the specified detail message and cause.
- InvalidResponseException - Exception in de.stklcode.jvault.connector.exception
-
Exception thrown when response from vault returned with erroneous status code or payload could not be parsed
to entity class.
- InvalidResponseException() - Constructor for exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
Constructs a new empty exception.
- InvalidResponseException(String) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
Constructs a new exception with the specified detail message.
- InvalidResponseException(Throwable) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
Constructs a new exception with the specified cause.
- InvalidResponseException(String, Throwable) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
Constructs a new exception with the specified detail message and cause.
- InvalidResponseException(String, Integer) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
Constructs a new exception with the specified detail message and status code.
- InvalidResponseException(String, Integer, Throwable) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
Constructs a new exception with the specified detail message, cause and status code.
- InvalidResponseException(String, Integer, String) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
Constructs a new exception with the specified detail message, cause and status code.
- InvalidResponseException(String, Integer, String, Throwable) - Constructor for exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
Constructs a new exception with the specified detail message, cause and status code.
- isAuthorized() - Method in class de.stklcode.jvault.connector.HTTPVaultConnector
-
- isAuthorized() - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Get authorization status.
- isInitialized() - Method in class de.stklcode.jvault.connector.model.response.HealthResponse
-
- isLocal() - Method in class de.stklcode.jvault.connector.model.response.embedded.AuthMethod
-
- isOrphan() - Method in class de.stklcode.jvault.connector.model.response.embedded.TokenData
-
- isRenewable() - Method in class de.stklcode.jvault.connector.model.response.embedded.AuthData
-
- isRenewable() - Method in class de.stklcode.jvault.connector.model.response.VaultDataResponse
-
- isRenewable() - Method in class de.stklcode.jvault.connector.model.Token
-
- isSealed() - Method in class de.stklcode.jvault.connector.model.response.HealthResponse
-
- isSealed() - Method in class de.stklcode.jvault.connector.model.response.SealResponse
-
- isStandby() - Method in class de.stklcode.jvault.connector.model.response.HealthResponse
-
- withBindSecretID(Boolean) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Set if role is bound to secret ID.
- withBindSecretID() - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Bind role to secret ID.
- withBoundCidrList(List<String>) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Set bound CIDR blocks.
- withCidrBlock(String) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Add a CIDR block to list of bound blocks.
- withDefaultPolicy() - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Attach default policy to token.
- withDisplayName(String) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Add display name.
- withHost(String) - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Set hostname (default: 127.0.0.1).
- withId(String) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Add custom role ID.
- withId(String) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Add token ID.
- withMeta(Map<String, String>) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Add meta data.
- withMeta(String, String) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Add meta data.
- withNoDefaultPolicy(boolean) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Set TRUE if the default policy should not be part of this token.
- withNoParent(boolean) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Set TRUE if the token should be created without parent.
- withNumberOfRetries(int) - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Define the number of retries to attempt on 5xx errors.
- withNumUses(Integer) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Set desired number of uses.
- withoutBindSecretID() - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Do not bind role to secret ID.
- withoutDefaultPolicy() - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Do not attach default policy to token.
- withoutTLS() - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Convenience Method for NOT using TLS.
- withParent() - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Create token with parent.
- withPeriod(Integer) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Set renewal period for generated token in seconds.
- withPolicies(List<String>) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Add given policies.
- withPolicies(String...) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Add given policies.
- withPolicies(List<String>) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Add given policies.
- withPolicy(String) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Add a single policy.
- withPolicy(String) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Add a single policy.
- withPort(Integer) - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Set port (default: 8200).
- withPrefix(String) - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Set API prefix.
- withRenewable(Boolean) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Set if token is renewable.
- withResponse(String) - Method in exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
- withSecretIdNumUses(Integer) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Set number of uses for sectet IDs.
- withSecretIdTtl(Integer) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Set default sectet ID TTL in seconds.
- withSslContext(SSLContext) - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Add a custom SSL context.
- withStatusCode(Integer) - Method in exception de.stklcode.jvault.connector.exception.InvalidResponseException
-
- withTimeout(int) - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Define a custom timeout for the HTTP connection.
- withTLS(boolean) - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Set TLS usage (default: TRUE).
- withTLS() - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Convenience Method for TLS usage (enabled by default).
- withToken(String) - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
- withTokenMaxTtl(Integer) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Set maximum token TTL in seconds.
- withTokenTtl(Integer) - Method in class de.stklcode.jvault.connector.model.AppRoleBuilder
-
Set default token TTL in seconds.
- withTrustedCA(Path) - Method in class de.stklcode.jvault.connector.factory.HTTPVaultConnectorFactory
-
Add a trusted CA certifiate for HTTPS connections.
- withTtl(Integer) - Method in class de.stklcode.jvault.connector.model.TokenBuilder
-
Set desired time to live.
- write(String, Map<String, Object>) - Method in class de.stklcode.jvault.connector.HTTPVaultConnector
-
- write(String, String) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Write simple value to Vault.
- write(String, Map<String, Object>) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Write value to Vault.
- writeSecret(String, String) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Write secret to Vault.
- writeSecret(String, Map<String, Object>) - Method in interface de.stklcode.jvault.connector.VaultConnector
-
Write secret to Vault.