Number of active watchers.
Whether close was called.
Stops all watchers (the owning client calls this from close()); later calls fail with
CANCELLED. Idempotent. Subclasses overriding it must call super.close().
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 secret, or null when missing.
Every secret directly under path with one list call (imports per config).
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 folder. prefixOrPath is a folder below the base path
(app/ or app); when no such folder exists it is a key prefix inside its parent folder
(app/DB_ lists keys starting with DB_ in app). A missing folder lists nothing.
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).
Splits a provider name into folder path and key.
Optionalpath: stringMetadata, or null when missing.
Provider name of a secret at secretPath/key (relative to the base path).
ProtectedputWrites a secret; returns the new version or "".
ProtectedremoveDeletes a secret; must throw NotFoundError when missing.
The secret; NotFoundError when missing.
Optionaloptions: GetOptionsWrites a secret; returns the new version ("" when the service has no versions).
Stops every watcher started by this provider. Idempotent.
Polls a secret and calls onChange when its version (or SHA-256) changes.
The SPEC §3 secrets interface on top of Infisical (
client.provider). Names may contain/: the last segment is the key, the rest is the folder below the base path.setcreates missing folders, resolves tag slugs (creating missing tags) and returns the new version.