Minor Changes
-
vercel env addnow defaults Environment Variables to sensitive on Production and Preview. Sensitive values are encrypted at rest and cannot be retrieved later via the dashboard or CLI; they are still resolved for builds, deployments,vercel env pull, and runtime. (#16041)Behavior per target:
- Production or Preview: defaults to
sensitive. Pass--no-sensitiveto opt back in to the previousencryptedbehavior (value remains readable later). - Development: always stored as
encrypted(sensitive is not supported by the Vercel API for Development). Passing--sensitivealongside a Development target now errors up-front instead of silently falling back. - Mixed selection (e.g., interactive checkbox picks
production + preview + development): errors and asks you to runvercel env addseparately for Development, because Development cannot share a record type with Production/Preview.
Flag summary:
--sensitive: unchanged in meaning (request a sensitive variable); now errors when combined with Development.--no-sensitive: new; opt out of the new default for Production/Preview.--sensitive --no-sensitivetogether: errors.
On teams that enable the "Enforce Sensitive Environment Variables" policy in team settings, the CLI now reads the policy from the team object and notes in the output that the policy is active; the server already promotes Production/Preview variables to sensitive silently, and the CLI's own logs are now honest about it. Passing
--no-sensitiveon a policy-on team for Production/Preview now emits a warning — the flag is a no-op because the server promotes the variable regardless — and the CLI sendstype: 'sensitive'so its own--debugoutput matches what gets stored. - Production or Preview: defaults to
Patch Changes
- Updated dependencies [
c1866cf1add2107f91cae8292e38e4854bfe0aca]:- @vercel/build-utils@13.19.1
- @vercel/backends@0.1.2
- @vercel/elysia@0.1.70
- @vercel/express@0.1.80
- @vercel/fastify@0.1.73
- @vercel/go@3.5.0
- @vercel/h3@0.1.79
- @vercel/hono@0.2.73
- @vercel/hydrogen@1.3.6
- @vercel/koa@0.1.53
- @vercel/nestjs@0.2.74
- @vercel/next@4.16.8
- @vercel/node@5.7.12
- @vercel/python@6.35.0
- @vercel/redwood@2.4.12
- @vercel/remix-builder@5.7.2
- @vercel/ruby@2.3.2
- @vercel/rust@1.1.1
- @vercel/static-build@2.9.20