Set configuration and secrets for a service from its Environment tab.
Saving and applying
Saving stores the variables encrypted. They take effect when you select Recreate service, which rebuilds the app without deleting persistent storage.
Rules and limits
| Limit | Value |
|---|---|
| Variables per service | 50 |
| Key length | 128 bytes |
| Value length | 8,192 bytes |
| Total size | 32,768 bytes |
- Keys must be valid shell variable names, for example
API_BASE_URL. - Variables the catalog app manages itself cannot be overridden.
- Dollar signs in values are kept literally.
For model provider keys, create a separate key for each service with a spending limit, and rotate it when you remove the service.
