5. Environment Variables
Environment variables hold the values a deployment reads: keys, endpoints and flags. Each variable belongs to one or more environments, Production, Preview and Development, and a change applies only to deployments built after it.
| Step | Practice |
|---|---|
| Add | vercel env add NAME production, the project's settings, or the REST API. |
| Prove | vercel env ls lists the name in the intended environment. A command that returns without an error is not proof. |
| Apply | Redeploy. Existing deployments keep the values they were built with. |
| Protect | Values are never printed in a terminal, a log or a note. A note names the variable and where its value is stored. |
Verified November 27, 2026 against Vercel's documentation and the firm's records. References