Set secrets for your project. Secrets are available to your backend functions as environment variables viaDocumentation Index
Fetch the complete documentation index at: https://docs.base44.com/llms.txt
Use this file to discover all available pages before exploring further.
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:.env file:
Arguments
| Argument | Description | Required |
|---|---|---|
<KEY=VALUE...> | One or more KEY=VALUE pairs, separated by spaces | Yes (unless using --env-file) |
Flags
| Flag | Description |
|---|---|
--env-file <path> | Path to a .env file containing KEY=VALUE pairs |
Example
See also
secrets list: List configured secretssecrets delete: Delete one or more secrets- Backend Functions: Use secrets as environment variables in your functions

