Set secrets for your project. Secrets are available to your backend functions as environment variables via Deno.env.get(). When you set a secret, any deployed backend functions that reference it are automatically redeployed with the new value.
If a secret with the same name already exists, its value is overwritten. You can provide secrets as inline KEY=VALUE pairs or load them from an .env file.
Usage
Set one or more secrets inline, separated by spaces:
Or load from an .env file:
You cannot combine inline KEY=VALUE pairs with --env-file in the same
command.
Arguments
Flags
Example
See also