Set project secrets
netrun_set_secretsStore project secrets like API keys and tokens as encrypted environment variables, then republish the app to apply them. Ask users for values instead of inventing them.
Instructions
Save environment variables (tokens, API keys, passwords) for a project. Values are stored encrypted and never returned. By default the project is re-published so the app picks them up. Ask the user for the values — do not invent them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Which env file to write to; ".env" unless the project uses another | .env |
| publish | No | Re-publish right away so the running app receives the new values | |
| secrets | Yes | Secrets as {"BOT_TOKEN": "123:abc"}. Stored encrypted; delivered to the app as environment variables via .env. Ask the user for values — never invent them. | |
| project_id | Yes |