Salto for
Product Updates
Articles
SHARE
Liora Schocken
January 22, 2025
2
min read
Managing configurations across environments often involves handling values that inherently differ, such as webhook URLs, domains, or email addresses. When comparing two environments - these values differ, and this difference should be maintained rather than “corrected”. To address this, we’re happy to introduce Environment Variables, a new feature in Salto that automates and simplifies the process of managing environment-specific values.
Environment Variables let you define and manage fields that require unique values across environments. For example, a staging environment may use a webhook endpoint URL like https://staging.acme.org, while production requires https://prod.acme.org. By using Environment Variables, you can:
Environment Variables start with defining the scope of fields to replace. Scopes are defined using Salto Selectors, which allow for precise targeting of configuration fields. Examples include:
Each Environment Variable includes values for specific environments. During deployment, Salto will:
For example, if https://staging.acme.org exist in staging and https://prod.acme.org is defined for production, Salto automatically ensures the right values are deployed to the appropriate environments.
Once you configure an Environment Variable - Salto will use it for all future deployments. You can create Environment Variables in two ways:
If you need help with your setup - please reach out and schedule a 1:1 session, or start on your own with our free trial.
Salto for
Product Updates
Product Updates
SHARE
Liora Schocken
January 22, 2025
2
min read
Managing configurations across environments often involves handling values that inherently differ, such as webhook URLs, domains, or email addresses. When comparing two environments - these values differ, and this difference should be maintained rather than “corrected”. To address this, we’re happy to introduce Environment Variables, a new feature in Salto that automates and simplifies the process of managing environment-specific values.
Environment Variables let you define and manage fields that require unique values across environments. For example, a staging environment may use a webhook endpoint URL like https://staging.acme.org, while production requires https://prod.acme.org. By using Environment Variables, you can:
Environment Variables start with defining the scope of fields to replace. Scopes are defined using Salto Selectors, which allow for precise targeting of configuration fields. Examples include:
Each Environment Variable includes values for specific environments. During deployment, Salto will:
For example, if https://staging.acme.org exist in staging and https://prod.acme.org is defined for production, Salto automatically ensures the right values are deployed to the appropriate environments.
Once you configure an Environment Variable - Salto will use it for all future deployments. You can create Environment Variables in two ways:
If you need help with your setup - please reach out and schedule a 1:1 session, or start on your own with our free trial.