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 user: " AZ_USER & &read -sp "Azure password: " AZ_PASS && echo && az login -u $AZ_USER -p $AZ_PASS