About this Install Guide

This guide shows you how to install and use the tool with the most common configuration. For advanced options and complete reference information, see the official documentation. Some install guides also include optional next steps to help you explore related workflows or integrations.

In this section you will learn how to authenticate to the Azure environment using the Azure CLI. After log in, the CLI allows you to query and interact with Azure cloud resources.

How do I prepare to authenticate using the Azure CLI?

Install the Azure CLI on your machine using the install guide .

How do I sign in interactively to Azure?

Run the following command to initiate the log in:

    

        
        
az login

    

The output will be similar to what is shown here:

    

        
        ubuntu@ip-172-31-17-218:~$ az login
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code E5NKJA2HM to authenticate.

        
    

Open the link in a browser, enter the code that you receive in the above message, and log in into your Azure account.

You will see the command line details as shown below after you log in.

Image Alt Text:azure

After a successful log in, you will be able to use the Azure CLI and automation tools like Terraform from the terminal.


Give Feedback

How would you rate this tool quick-install guide?