Quick Actions
az login
Description
Log in to Azure.
Command
az login
Examples
Log in interactively
Log in with a service principal
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
--use-device-code |
string | No | Use device code authentication. |
--service-principal |
string | No | Log in with a service principal. |
-u, --username <ID> |
string | No | User name, service principal name, or managed service identity name. |
-p, --password <Password> |
string | No | Credentials. |
Command Info
Category:
Configuration
Type:
Azure
Views:
1
Status:
Active
Tags
azure
cli
login
auth
account