NEBULA

NEBULA-CONCEPTS-ENVIRONMENTS(1)

Nebula Manual

NAMEenvironments and secrets — Manage environment-specific configuration with policy-controlled visibility.
SOURCEnebula/crates/nebula-cli/src/main.rs (EnvCommand)
STATUSpre-alpha · protocol in design
01

List environments

Environments organize configuration for different deployment contexts.

output
neb env list
neb env list --environment production
02

Create and configure

Create a new environment for your deployment topology.

output
neb env create staging
neb env configure production
03

Set variables

Set environment variables with appropriate sensitivity levels. Variables are stored with policy-controlled visibility.

output
neb env set DATABASE_URL --environment production
neb env set API_KEY --environment production --sensitive
neb env set SECRET_KEY --environment production --sealed
neb env set BUILD_FLAG --environment build --availability build
neb env set FEATURE_FLAG --environment development --save
04

Seal sensitive values

Once a variable is sealed, it cannot be read in plaintext. Sealed values require deployment-time injection through policy.

output
neb env seal API_SECRET --environment production
05

Export for deployment

Export variables for shell integration or deployment tools. Sealed variables are not included.

output
neb env export --environment production > .env.production
06

Diff environments

Compare variables across environments to understand configuration drift.

output
neb env diff