Save an encrypted variable
set_variableUpsert a key/value in the user's encrypted variable store (UPPER_SNAKE name, ≤8 KiB value). Use for API keys the user's sites/agents need, e.g. SUPABASE_URL. NOTE: saving alone does NOT expose it to any site Worker's env — attach it to a specific site with attach_variable (takes effect on that site's next function deploy).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | variable name, UPPER_SNAKE_CASE, e.g. SUPABASE_URL | |
| value | Yes | value to store (encrypted, ≤8 KiB) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |