Skip to content

Latest commit

 

History

History
31 lines (15 loc) · 997 Bytes

awesome-az-cli.md

File metadata and controls

31 lines (15 loc) · 997 Bytes

☁️ Az-cli awesome command line for day by day!

Intro & Documentation

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.

Azure CLI Home

What is?

Reference index

Main command

  • az login --use-device

  • az account set --subscription 1b1b1b1b-9aa1-4x75-9d7d-\*******

Example with some context

Azure AKS connect and kubelogin convert credentials

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