secrets::access
Replace the list of worker names allowed to resolve a secret; [] revokes everyone. With store "env", shares the environment variable NAME (env://NAME), whether or not it is set yet.
- consumersstring[]required
The complete new allowlist of worker names; `[]` revokes everyone.
- namestringrequired
- storeall of
`vault` (default; the secret must exist) or `env` (shares the variable, whether or not it is set yet).
all of (1)Variant 1one of (2)Variant 1valuestringenum vaultVariant 2valuestringenum env
- consumersstring[]required
Worker names allowed to resolve the value. Empty: nobody.
- created_atstringrequired
- descriptionstring
- fingerprintstring
First 16 hex characters of HMAC-SHA256(master key, value). Changes on rotation. Vault only: an environment value can change outside this worker.
- hintstringrequired
Masked value, e.g. `sk-ant…9f2c`; `••••` under 12 characters. Empty for an environment variable that is not set.
- last_resolved_atstring
- last_resolved_bystring
Worker name of the last successful resolver.
- locationstring
Env store: where the variable's value is read from now (the `.env` path, or this worker's environment); absent when it is not set.
- namestringrequired
- refstringrequired
`secret://NAME` or `env://NAME`, the string to put in versioned configuration.
- storeone ofrequired
Where a secret's value lives.
one of (2)Variant 1valuestringenum vaultVariant 2valuestringenum env - updated_atstringrequired