Environment variables

Store secrets and configuration, encrypted at rest.

Environment variables hold configuration and secrets for your builds and your running app. Values are encrypted at rest and write-only: once saved, a value can be replaced but never read back.

Add a variable

Open the project, choose Environment Variables, then enter a key, a value, and the environments it applies to (Production, Preview, Development). Saving an existing key replaces its value.

Note Names that start with VTX_ are reserved for the platform and cannot be used.

Mark a value sensitive

Tick Mark as sensitive for values that should be hidden from everyone who can view the project, such as API keys.

When a change takes effect

Variables are read when a deployment is built or started. After you change one, deploy again for the new value to take effect.

Build logs

Values are never printed into build logs.