list
List all environment variables in a project.
The list command displays all secrets in the current environment with their decrypted values.
Usage#
redenv listOptions#
| Flag | Description |
|---|---|
-p, --project <name> | Specify project name |
-e, --env <env> | Specify environment |
Examples#
# List all secrets
redenv list
# List from specific project/environment
redenv list --project my-app --env productionOutput Format#
Secrets are displayed alphabetically in a tree-style format:
$ redenv list
? Enter your Master Password: ********
📦 Variables for my-app (development):
API_KEY
│
└─ sk_test_abc123xyz
DATABASE_URL
│
└─ postgresql://localhost:5432/mydb
DEBUG
│
└─ trueVariable Expansion#
When a secret contains references, both the raw and expanded values are shown:
AUTH_URL
│
└─ ${BASE_URL}/auth (https://api.example.com/auth)Info
If a circular reference is detected, a warning is shown and the unexpanded values are displayed instead.
Multiline Values#
Multiline secrets are displayed with proper formatting:
PRIVATE_KEY
│
└─ -----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA...
-----END RSA PRIVATE KEY-----