OptionalconnectConnection setup timeout in ms (default 10 000).
OptionalheadersExtra request headers.
OptionalhooksRequest/response hooks.
OptionalkvDefault KV mount used by client.kv() and client.secrets() (default "secret").
OptionalkvKV version of every mount, skipping auto-detection (sys/internal/ui/mounts). Set it for
tokens that cannot read the mount preflight endpoint. Default: auto-detect per mount.
OptionalloggerDiagnostic logger (silent by default).
OptionalnamespaceNamespace sent as X-Vault-Namespace (env GROW_HASHICORP_VAULT_NAMESPACE, VAULT_NAMESPACE).
Namespaces are a Vault Enterprise feature: Vault OSS ignores the header and serves the root
namespace, so a wrong value is not detected there.
OptionalproxyProxy URL. Environment proxies (HTTPS_PROXY, …) are ignored unless set here.
OptionalrequestPer-attempt timeout in ms, headers + body (default 30 000).
OptionalretryRetry policy or its options.
OptionalsecretsBase path inside the KV mount under which client.secrets() stores secrets (env
GROW_HASHICORP_VAULT_SECRETS_PATH, default "" = the mount root).
OptionaltlsTLS settings.
OptionaltokenClient token sent as X-Vault-Token (env GROW_HASHICORP_VAULT_TOKEN, VAULT_TOKEN).
Leave it unset when the client logs in with an auth method (client.auth.login(...)).
OptionaltotalWhole-call timeout in ms including retries and backoff (default 120 000).
OptionalurlEndpoint base URL.
OptionaluserAppended after the standard User-Agent.
OptionalvalueKV data field that holds a client.secrets() value (default "value").
Options accepted by VaultConfig (all optional).