Secrets · Guides
Compare environments
See which names each environment lacks and where values differ, before a deploy finds out. No Secret value is shown.
Every environment at once
The Variables tab is a table: a column per environment, a row per name, grouped by prefix (DB_, MAIL_ and so on). Each cell holds one of:
- a Visible value, as it is,
- set for a Secret value, never the value itself,
- Missing, with a link to add it there if you may.
A row whose values differ says so, and a Secret cell in it says which environment before it holds the same value. Find names by typing, or narrow the table with the switch above it, each choice with a count.
Only the environments you open are columns. With No access in production, for example, the table has no production column. See Control who sees values.
Two side by side
Above the table, Compare two links each pair of environments. On the comparison, the picker at the top changes either side when you choose Compare. The rows come grouped by what they mean:
- Missing in one side or the other,
- Different values,
- Not compared, explained below,
- Same value, folded at the foot.
A Visible value shows on its side; a Secret one only says it's set.
What is not compared
Two values are compared only when you could read both or neither. A value you could read beside one you can't would give the hidden one away as soon as the page said “same”. So a row is Not compared when one side is:
- Visible, and the other Secret where you may not show values, or
- Secret where you may show it, and the other Secret where you may not.
With Triage or Admin in both environments, every pair is compared.
Fill in what is missing
A Missing cell, or a missing name in Compare, opens the other environment's list with the add form ready for that name. Type the value it needs there and add it. On an environment's own list, Missing here gathers the same names: see Find a variable.