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 user: " AZ_USER && read -sp "Azure password: " AZ_PASS && echo && az login -u $AZ_USER -p $AZ_PASS
  • azure/qnd/azure_cli.1654800322.txt.gz
  • Last modified: 2022/06/09 18:45
  • by mgupton