Back to documentation
Deployment

Managing Environment Variables

Securely manage environment variables and secrets for your applications.

Intermediate5 min readUpdated 2024-02-01

Adding environment variables

Environment variables are configured during deployment or from the app settings:

  1. Open your app's settings
  2. Go to the "Environment" tab
  3. Add, edit, or remove variables
  4. Click "Save" to apply changes

Changes trigger a container restart to apply new values.

Secret masking

Server Compass masks sensitive values:

  • Passwords are hidden by default
  • API keys are partially masked
  • Click the eye icon to reveal values
  • Export excludes sensitive values by default

Environment Vault

Use the Environment Vault for shared secrets:

  1. Go to Settings > Environment Vault
  2. Create reusable environment groups
  3. Apply groups to multiple apps
  4. Update once, apply everywhere

Screenshots

Managing Environment Variables - Screenshot 1

Screenshots may vary slightly from the current version

Video Tutorials

Related Features

Ready to try Server Compass?

Download the app and deploy your first application in under 5 minutes. No terminal knowledge required.