Forrest logo
back to context overview

az-login

List of commands for az-login:

  • az-login:tldr:6827a az-login: Log in using a VM's user assigned identity.
    $ az login --identity --username /subscriptions/${subscription_id}/resourcegroups/${my_rg}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/${my_id}
    try on your machine
    explain this command
  • az-login:tldr:c1d0c az-login: Log in using a VM's system assigned identity.
    $ az login --identity
    try on your machine
    explain this command
  • az-login:tldr:c9233 az-login: Log in with a service principal using a client secret.
    $ az login --service-principal --username ${http:--azure-cli-service-principal} --password ${secret} --tenant ${someone-onmicrosoft-com}
    try on your machine
    explain this command
  • az-login:tldr:f7ac8 az-login: Log in interactively.
    $ az login
    try on your machine
    explain this command
back to context overview