Environment-Level Management

View and manage secrets and variables across all environments from one interface, comparing values and spotting default versus custom overrides at a glance.

Facets provides a structured way to handle application configurations across different environments.

Multi-environment view

View and manage variable configurations across all environments from a single interface. The multi-environment view shows:

  • All variables defined at project or environment level
  • Current value for each environment (or indication that it's unset)
  • Status indicators showing whether each environment uses the default or a custom override
Multi-environment view listing variables with their value and override status per environment

This centralized view eliminates the need to navigate between environments to compare configurations or identify inconsistencies.


Editing values for an environment

Beyond comparing values across environments, you can edit many variable and secret values for a single environment in one workflow, instead of updating each one individually.

To edit values for an environment:

Using prompt

Set API_URL to https://api.prod.com in prod and https://api.staging.com in staging, for myproject.

or

Using command

# Several environments in one call
raptor set variable API_URL -p myproject \
    --env-values prod=https://api.prod.com,staging=https://api.staging.com

# What one environment resolves to
raptor get variables -p myproject -e production

Secret values are masked. Add --show-secrets to reveal them, which needs -e to name the environment and the View Secrets permission for it.

New to the CLI? Install it first.

  1. From the multi-environment view, click Edit Env. Values.
  2. Select the environment whose values you want to update.
  3. Edit values directly in the table using Edit env value, updating one or more entries as needed.
  4. To make several changes at once, switch to the JSON editor and edit the values as raw JSON instead of using the table.
  5. Reveal secret values as needed. Secret values are fetched only when you choose to reveal them, and only for environments where you have access to view secrets.
  6. Save your changes, or discard them to revert to the values that were in place before you started editing.

Facets tracks unsaved changes while you work in this view, so you can discard them at any point before saving without affecting the existing values.

Editing environment values requires a different permission than defining new variables and secrets at the project level. See the permission matrix on the Project-Level Secrets & Variables page for details.

History of values

Each environment keeps a versioned history of its secrets and variables: who changed which keys, when, why, and which version each release used.

Using prompt

What changed in prod's secrets and variables this week, and who changed it?

or

Using command

# Recent versions (--limit 1 to 100, default 20)
raptor get variables -p myproject -e prod --history

# What changed in version 12
raptor get variables -p myproject -e prod --history --version 12

# One key's history
raptor get variable API_URL -p myproject -e prod --history

Secrets show as (set), (changed) or (unset). Fingerprints appear only with -o json or -o yaml.

New to the CLI? Install it first.

Open the history from any of three places:

  • The environment's Secrets & Variables page: click History.
  • The multi-environment view: click the history icon on an environment's column.
  • A variable's edit drawer: click the history icon next to an environment, for that one key.

Each version shows its time, author, cause and changed keys, with old and new values for each key.

A version is the full set of values the environment uses, not only what changed. Facets saves a new one only when something differs, and records why:

CauseWhen
First recordThe state before the first recorded change
Value changeA person or a client set a value
Definition changeA Git sync changed which keys exist, or the project defaults
ReleaseA release found values nothing else recorded, such as an edit made directly in the secret store

The history never keeps a secret's value. It shows a 7-character fingerprint instead, and the same value has the same fingerprint in every environment, so you can tell when two environments hold the same secret. Fingerprints show without the View Secrets permission; revealing a value still needs it.

Each environment keeps its last 100 versions. Releases from before history began have no recorded version. Anyone with access to the environment can read its history.

A change can mark the resources that use those keys as pending. See What marks a resource pending. The release preview and release details show what changed in secrets and variables between releases.

Troubleshooting

ProblemSolution
The JSON editor shows an error and won't let you saveThe pasted JSON is invalid. Check for missing commas, unmatched brackets, or trailing commas, then correct the JSON before saving.