Secrets
The env.secrets
object is used to access secrets from the environment. The secrets are typically stored in the .env
file in the root of the project (or in the process.env
for the CLI).
You must declare the list of required secrets in script({ secrets: ... })
in order to use them in the script.
- declare use in
script
- access the secret in the script through
env.secrets