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 within your workspace is how you would normally use any environment variable (eg: echo $NOT_SO_SECRET_KEY).

Note: User secrets are not available during build time, they are only available during launch and runtime steps. However, all user secrets are automatically available as environment variables within each user's workspace.

To use it in a recipe, 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