Add environment variables
Store secrets and config per environment; encrypted at rest, injected at build and runtime.
You can store configuration values and secrets that your builds need without hardcoding them into your codebase. Environment variables let you keep sensitive data secure while making it easy to change settings across different environments.
Open Environments in the sidebar.
The Environments section is where you manage all variables for each deployment stage.
Click Add variable.
Enter the Value; values marked Encrypted are write-only and cannot be read back.
Encrypted variables are write-only for security — once saved, you cannot view them again. Make sure you have the value recorded elsewhere before saving.
Click Save variable; it is available to the next build.
What's next
Your variables are now injected automatically at build and runtime. Next, deploy your application to see them in action across your environments.