Skip to main content

astroctl_cloud_azure_connect

astroctl cloud azure connect

Link your Azure subscription to AstroPulse

Synopsis

Grant AstroPulse access to your Azure subscription to create and manage AKS clusters.

Generates a setup script and saves it to astro-azure-setup-<cluster-name>.sh. Run it in a terminal with Azure CLI access — it creates the required service principal and role assignments. The command waits until the script completes.

Your subscription ID: az account show --query id --output tsv

astroctl cloud azure connect [flags]

Examples

astroctl cloud azure connect --subscription-id 00000000-0000-0000-0000-000000000000 --resource-group rg-astro --region eastus --cluster-name prod
astroctl cloud azure connect --subscription-id 00000000-0000-0000-0000-000000000000 --resource-group rg-astro --region eastus --cluster-name prod --output setup.sh

Options

--cluster-name string Cluster name for this connection (required)
--duration string Credential duration (e.g., 30m, 1h) (default "1h")
--force-update Force reconfiguration even if already set up
-h, --help help for connect
-o, --output string Custom filename for the setup script (default: astro-azure-setup-<cluster-name>.sh)
--region string Azure region (e.g., eastus) (required)
--resource-group string Azure resource group (required)
--subscription-id string Azure subscription ID (required)

SEE ALSO