AZURE - vasanthsumanath/MyWIKI GitHub Wiki

Installing Azure CLI for MAC user

brew install azure-cli

Login to Azure via CLI

az login --tenant < tenant id >

< tenant id > can be found from the Azure portal, Azure Active Directory >> Overview >> Tenant ID

Set the subscription using below command

az account set --subscription "subscription name"

get the list of subscription using below command

az account list

to get the view of the subscription that is set to use

az account show

get the aks config locally

az aks get-credentials -n < resource name > -g < resource group >