createVaultSecretSource
Purpose and behavior
Section titled “Purpose and behavior”Create a host-side Vault/OpenBao KV v2 reader for one declared mount and document path. Fetch that document once per nonempty selection and return only requested fields, optionally at a pinned version and namespace. Send the host token in HTTP headers, refuse redirects and bound response bytes; KV v1 and dynamic credentials are unsupported.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”optionsRequiredVaultSecretSourceOptionsHost client or connection configuration and explicit secret selection for the Vault adapter.options.addressRequiredstringExplicit absolute HTTP(S) server URL for Vault or OpenBao, optionally with a proxy base path; credentials, queries and fragments are refused.options.tokenRequiredstringDeclared host-side read token, sent only in X-Vault-Token headers. Must be nonempty without line breaks; never forwarded as a sandbox variable by this adapter.options.mountRequiredstringKV v2 mount name, such as kv or secret; encoded path segments must be nonempty without traversal.options.pathRequiredstringDocument path relative to mount, such as outpost/prod. One document is fetched and its requested fields are selected; do not include the API data segment.options.versionOptionalnumber | undefinedPositive integer KV v2 document version; omitted selects the service’s latest version.options.namespaceOptionalstring | undefinedOptional namespace header for the chosen Vault/OpenBao server, with no line breaks.

