ReadonlykvThe KV mount.
ReadonlypathBase path inside the mount.
ReadonlyvalueData field that holds the value.
Static ReadonlycapabilitiesCapabilities for the conformance runner.
Number of active watchers.
Whether close was called.
Stops watchers and detaches from the client. Idempotent.
Deletes a secret; NotFoundError when missing.
ProtectedensureThrows CancelledError ("<operation>: client is closed", not retryable) once close
was called (SPEC §2.4). The public operations call it before any I/O; service operations
can call it too.
Whether the secret exists.
Optionaloptions: GetOptionsProtectedfetchReads metadata; null when missing.
ProtectedfetchReads a secret; null when missing.
The KV path of a secret: <options.path ?? provider path>/<name>.
Optionalpath: stringThe secret, or null when missing.
Every secret directly under path (non-recursive), keyed by full name.
Optionalpath: stringBoolean (true/false/1/0/yes/no/on/off), or null when missing.
Optionaloptions: GetOptionsParsed JSON, or null when missing (ValidationError when not JSON).
Optionaloptions: GetOptionsPresent secrets in request order (missing names omitted).
Optionaloptions: GetOptionsNumber, or null when missing (ValidationError when not a number).
Optionaloptions: GetOptionsUTF-8 text, or null when missing.
Optionaloptions: GetOptionsMetadata of the secrets directly under a prefix or path, sorted by name.
OptionalprefixOrPath: stringProtectedlistLists the secrets directly under a prefix or path (any order).
Sets environment variables from secrets: a path (one variable per secret directly under it)
or a mapping { ENV_NAME: "secret/name" }. Returns { envName: secretName } for the
variables that were set (never values).
Metadata, or null when missing.
ProtectedputByte form used by the base class: UTF-8 text is stored as text, other bytes as base64.
ProtectedremoveDeletes a secret; must throw NotFoundError when missing.
The secret; NotFoundError when missing.
Optionaloptions: GetOptionsWrites a secret. Strings are stored as is, Uint8Array as base64 (with
encoding: "base64"), objects JSON-encoded. Returns the new version ("" on KV v1).
Stops every watcher started by this provider. Idempotent.
Polls a secret and calls onChange when its version (or SHA-256) changes.
SecretsProvider over an OpenBao KV mount (v1 or v2, auto-detected).
get(name)reads<path>/<name>; KV v2 versions are the SecretValue version.setreturns the new KV v2 version (""on KV v1);casandtags(custom metadata) need KV v2.deletesoft-deletes the latest version (KV v2),versionsdeletes those versions,permanentremoves all versions and metadata.list(prefix)lists one folder level (sub-folders skipped); on KV v2 each entry carries its metadata and secrets whose current version is deleted are skipped.