Secrets
Keep private project credentials on the server and public configuration in the client.
Secrets stores key-value configuration for your project with client or server scope.
Choose the scope
| Scope | Where it is used | Suitable values |
|---|---|---|
| Client | Generated app, preview, and builds | Publishable keys and public configuration |
| Server | V2 Cloud server logic | Private API keys, admin tokens, and webhook secrets |
Client values can be extracted from a distributed app. Keep private credentials in server scope.
Manage secrets
- Open More → Secrets.
- Add a key name and value.
- Select the scope and save.
- Rebuild the app or update the server integration to apply changes.
Enter secret values in the secrets interface rather than chat. Ask OpenV2 to reference their names in server code.
text
If a key is exposed, rotate it and update the saved value.

