This command is only available on Astro.
--variable-key or --variable-id.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Show the Deployments a Workspace environment variable is linked to.
--variable-key or --variable-id.
astro env variable link list
| Option | Description | Possible Values |
|---|---|---|
--variable-key | The key of the Workspace variable. Provide either this or --variable-id. | Any string |
--variable-id | The ID of the Workspace variable. Provide either this or --variable-key. | Any valid variable ID |
--format | The output format. Defaults to table. | table, json, or yaml |
--include-secrets | Surface secret values in the output. Requires an Organization policy that allows it. | None |
--workspace-id | Set the Workspace scope. Defaults to your current Workspace from CLI context. | Any valid Workspace ID |
# Show every Deployment a Workspace variable is linked to or excluded from
astro env variable link list --variable-key DATABASE_URL --workspace-id <workspace-id>
Was this page helpful?