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​
Formatting​
For more information about formatting options, see Formatting.
Inherited​
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​
- csph deployments env — list the setting names a deployment gets