azure:qnd:azure_cli

This is an old revision of the document!


Azure CLI

Powershell

Login

$AzCred = Get-Credential -UserName <username>
az login -u $AzCred.UserName -p $AzCred.GetNetworkCredential().Password

Bash

Login

read -sp "Azure password: " AZ_PASS && echo && az login -u <username> -p $AZ_PASS
  • azure/qnd/azure_cli.1654791195.txt.gz
  • Last modified: 2022/06/09 16:13
  • by mgupton