development
: All your secrets and env vars are configured in the .env.build
file.staging
and development
stages: Your env vars are configured in the vercel.*.json
files, per customer and per stage.vercel.*.json
and store your sensitive secrets on Vercel, that's it."environment variables"
term, which may mean something different whether you mean it locally, or on Vercel.secrets
existed, but since now@18
they've introduced the concept of environment variables
.secrets
are global and shared across all projects, while env vars
are scoped by project.secrets
for everything that's securely stored on Vercel, and the term environment variables
for everything that's not securely stored (git tracked, readable from code files).