OptionalonClose: () => voidStatic ReadonlycapabilitiesCapabilities declared to the conformance runner.
Number of active watchers.
The client this provider uses.
Whether close was called.
Stops the watchers of this provider. 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 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 (BatchGetSecretValue in chunks of 20; per-name reads when
a version is requested).
Number, 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.
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.
SecretsProvider over AWS Secrets Manager. Capabilities:
write,versions,delete.get(name, {version})readsVersionId = version(stage labels: useclient.getSecretValue).setstores text asSecretStringand other bytes asSecretBinary; it creates the secret when missing (withdescription/tags) and returns the new VersionId.casis not supported (ValidationError).deleteschedules deletion with the recovery window (default 30 days);permanent: truedeletes immediately. A name scheduled for deletion cannot be written again until it is restored or purged (ConflictError).list(prefix)matches names by string prefix (recursive);getAll(path)returns the secrets directly underpath(non-recursive).