Get credentials for a cluster:
az aks get-credentials --resource-group myRG --name myClusterThis merges the kubeconfig. Switch between contexts:
kubectl config get-contexts
kubectl config use-context myClusterUse admin credentials (bypasses RBAC/AAD):
az aks get-credentials --resource-group myRG --name myCluster --adminTip: Use kubectx for faster context switching: brew install kubectx