User-scoped

Saving an user-scoped environment variable

Visit the Environment Variables section at https://www.devzero.io/dashboard/environment-variables/user to add, remove, or update your user-scoped environment variables and secrets. User-scoped environment variables can only be seen, managed, and used by you.

User-scoped environment variables are automatically made available on each of your running workspaces by default.

Using an environment variable

Using an environment variable

Using an environment variable within your workspace is how you would normally use any environment variable (eg: echo $NOT_SO_SECRET_KEY).

To use it in a build, you can reference it the same way. If your environment variable is called MY_KEY:

Need to store a secret environment variable? Check out the Secrets page.

Last updated