CmdID

CmdID / az / az aks / az aks bastion

az aks bastion tunnel

Connect to a managed Kubernetes cluster using Azure Bastion. Azure CLI extensions reference

5 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

5 in the Azure CLI extensions reference
--adminUse the cluster admin credentials to connect to the bastion.
--bastionThe name or resource ID of a pre-deployed Bastion resource configured to connect to the current AKS cluster.
--kubeconfig-pathPath to an existing kubeconfig file to use.
--portThe local port number used for the bastion connection.
--yes, -yDo not prompt for confirmation.