vercel_create_env
Create or update environment variables on a Vercel project. Specify key, value, target environments, and secret type. Defaults to all environments and plain text.
Instructions
Create (or upsert) an environment variable on a Vercel project. Target defaults to production, preview, and development. Use type='plain' for non-secret values, 'encrypted' or 'sensitive' for secrets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| key | Yes | ||
| value | Yes | ||
| target | No | CSV of environments: 'production,preview,development'. Defaults to all three. | |
| type | No | plain | encrypted | sensitive | secret | system. Defaults to plain. | |
| git_branch | No | ||
| comment | No | ||
| upsert | No | Overwrite existing value for same key/target. Default true. | |
| team_id | No | ||
| api_key | No |