Uses of Class
codes.grow.packages.vault.VaultConfig.Builder
Packages that use VaultConfig.Builder
-
Uses of VaultConfig.Builder in codes.grow.packages.vault
Methods in codes.grow.packages.vault that return VaultConfig.BuilderModifier and TypeMethodDescriptionstatic VaultConfig.BuilderVaultConfig.builder()Starts an empty builder (every field at its default).VaultConfig.Builder.connectTimeout(Duration d) Sets the connect timeout (default 10 s).Fills every field that was not set explicitly from the environment.Adds a header sent with every request.Sets request hooks.Sets the default KV mount (defaultsecret).VaultConfig.Builder.kvVersion(int kvVersion) Fixes the KV version of every mount and skips auto-detection (sys/internal/ui/mounts); set it for tokens that cannot read the preflight endpoint.Sets the logger (default silent).Sets the namespace sent asX-Vault-Namespace(envGROW_HASHICORP_VAULT_NAMESPACE,VAULT_NAMESPACE).Sets an explicit proxy URL; environment proxies (HTTPS_PROXY) are never used.VaultConfig.Builder.requestTimeout(Duration d) Sets the per-attempt timeout (default 30 s).VaultConfig.Builder.retry(RetryPolicy retry) Sets the retry policy (defaultRetryPolicy.defaults()).VaultConfig.Builder.secretsPath(String secretsPath) Sets the base path inside the KV mount under whichclient.secrets()stores secrets (envGROW_HASHICORP_VAULT_SECRETS_PATH, default""= the mount root).VaultConfig.Builder.tls(TlsOptions tls) Sets the TLS options; environment TLS variables are then ignored.Sets the API token.Sets the API token.VaultConfig.Builder.totalTimeout(Duration d) Sets the total timeout per call including retries (default 120 s).Sets the endpoint base URL.VaultConfig.Builder.userAgentSuffix(String suffix) Sets the text appended to theUser-Agent.VaultConfig.Builder.valueField(String valueField) Sets the KV data field that holds aclient.secrets()value (defaultvalue).