This command is only available on Astro.
--resolve-linked to false.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
List Environment Manager environment variables.
--resolve-linked to false.
astro env variable list
| Option | Description | Possible Values |
|---|---|---|
--format | The output format. Defaults to table. | table, json, yaml, or dotenv |
--output | Write the output to a file. Use - for stdout. Defaults to -. | Any valid file path, or - |
--include-secrets | Surface secret values in the output. Requires an Organization policy that allows it. | None |
--resolve-linked | Include objects linked from another scope, such as a Workspace variable resolved at Deployment scope. Enabled by default. Set to false to return addressable object IDs. | true (default), false |
--workspace-id | Set the Workspace scope. Mutually exclusive with --deployment-id. Defaults to your current Workspace from CLI context. | Any valid Workspace ID |
--deployment-id | Set the Deployment scope. Mutually exclusive with --workspace-id. | Any valid Deployment ID |
# List Workspace variables
astro env variable list --workspace-id <workspace-id>
# List the variables a Deployment resolves, including those linked from the Workspace
astro env variable list --deployment-id <deployment-id> --resolve-linked
Was this page helpful?