Skip to main content

csph deployments env list

list a deployment's setting names, secret or plain, and where each is set

🔑 List the names of the settings a deployment gets, never their values.

Each row is one setting: its name, whether it is a secret or a plain variable, and where it is set. "environment" settings are shared by every service in the environment; "service" settings are this service's own and win over an environment setting of the same name ("overrides environment" says so). A service setting saved without a redeploy shows what the next deploy does to it ("adds" or "removes").

Values are never printed, in any output format. Read or change them in the console or with csph service variables and csph environment variables. Use this list to check which settings a service needs before you move it to another project or environment.

Usage​

csph deployments env list <deployment-id> [flags]

Aliases​

deployments env list, deployments env ls, deployment env list, deployment env ls, deploys env list, deploys env ls

Options​

Command Specific​

--account <string>
account ID

Formatting​

For more information about formatting options, see Formatting.

-o, --output <string>

output format: [table|plain|csv|json|yaml]

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

# the setting names of a deployment
> csph deployments env list <deployment-id>

# as JSON, for a script or an agent
> csph deployments env list <deployment-id> -o json

# only the secrets
> csph deployments env list <deployment-id> -o json --jq '[.[] | select(.secret) | .name]'

See also​