Package | Description |
---|---|
de.stklcode.jvault.connector.factory |
Modifier and Type | Method and Description |
---|---|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.fromEnv()
Build connector based on the VAULT_ADDR} and
VAULT_CACERT (optional) environment variables. |
static HTTPVaultConnectorFactory |
VaultConnectorFactory.httpFactory()
Get Factory implementation for HTTP Vault Connector.
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withHost(String host)
Set hostname (default: 127.0.0.1).
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withNumberOfRetries(int numberOfRetries)
Define the number of retries to attempt on 5xx errors.
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withoutTLS()
Convenience Method for NOT using TLS.
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withPort(Integer port)
Set port (default: 8200).
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withPrefix(String prefix)
Set API prefix.
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withSslContext(SSLContext sslContext)
Add a custom SSL context.
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withTimeout(int milliseconds)
Define a custom timeout for the HTTP connection.
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withTLS()
Convenience Method for TLS usage (enabled by default).
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withTLS(boolean useTLS)
Set TLS usage (default: TRUE).
|
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withToken(String token)
Set token for automatic authentication, using
buildAndAuth() . |
HTTPVaultConnectorFactory |
HTTPVaultConnectorFactory.withTrustedCA(Path cert)
Add a trusted CA certifiate for HTTPS connections.
|
Copyright © 2016–2018. All rights reserved.