production maps to Vercel’s production environment; preview maps to Vercel’s preview + development environments. Redeploy after changes for them to take effect.
These are provisioned automatically and shouldn’t be set manually:
NEXT_PUBLIC_APP_URL— all appsNEXT_PUBLIC_SUPABASE_URL,NEXT_PUBLIC_SUPABASE_ANON_KEY— fullstack apps
List Secrets
Set Secret
Creates the variable, or updates it in place if the key already exists for that target (upserted on Vercel as well):Request Body
| Field | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Variable name |
value | string | Yes | Variable value |
target | string | Yes | preview or production |
Response
200
Reveal Secret
200
404
Delete Secret
Removes the variable from Naive and from the Vercel project environment:200
Errors
400