What is Azure CLI?
The Azure command-line interface (Azure CLI) is a set of commands used to create and manage Azure resources. The Azure CLI is available across Azure services and is designed to get you working quickly with Azure, with an emphasis on automation.
-
az login --use-device
-
az account set --subscription 1b1b1b1b-9aa1-4x75-9d7d-\*******
Connect to Azure Kubernetes service and convert credentials from cluster with kubelogin :
-
az aks get-credentials --resource-group rg-dev --name aks-dev
-
kubelogin convert-kubeconfig -l azurecli