astro env variable link list

This command is only available on Astro.

Show every Deployment that a Workspace-scoped environment variable is linked to or excluded from. Identify the variable with either --variable-key or --variable-id.

Usage

$astro env variable link list

Options

OptionDescriptionPossible Values
--variable-keyThe key of the Workspace variable. Provide either this or --variable-id.Any string
--variable-idThe ID of the Workspace variable. Provide either this or --variable-key.Any valid variable ID
--formatThe output format. Defaults to table.table, json, or yaml
--include-secretsSurface secret values in the output. Requires an Organization policy that allows it.None
--workspace-idSet the Workspace scope. Defaults to your current Workspace from CLI context.Any valid Workspace ID

Examples

$# 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>