Environment Diff
Compare environment variables across environments to spot missing keys, value mismatches, and configuration drift.
Accessing the Diff View
- Open the Vault tab in your project.
- Click Diff, select two or three environments, and click Compare.
Reading the Diff
Variables are listed row by row across environment columns.
| Highlight | Meaning |
|---|---|
| Red | Variable is missing from this environment. |
| Yellow | Variable exists but the value differs from at least one other environment. |
| No highlight | Value is identical across all selected environments. |
Rows are sorted with differences first, then identical entries. Toggle to alphabetical sorting in the toolbar.
Sensitive Value Handling
Values are masked by default. Click the eye icon to reveal individual values, or use the Show Values toggle to unmask all. Values are re-masked after 60 seconds of inactivity or on navigation. Viewers cannot reveal values.
Exporting the Diff
Click Export and choose Markdown or CSV. Actual secret values are replaced with [REDACTED].
CLI Usage
depvault env diff --vault-group <id> --environments DEVELOPMENT,PRODUCTION| Flag | Description |
|---|---|
--vault-group | Vault group ID. |
--environments | Comma-separated pair of environments (2 or 3). |
--format | table (default), json, csv, or markdown. |
--show-values | Include actual values (omit to redact). |