O'Reilly logo

Automating Microsoft Azure with PowerShell by John Chapman, Aman Dhally

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting the Azure storage account keys

Managing services provided by Microsoft Azure storage accounts requires two pieces of information: the storage account name and an access key. While we can obtain this information from the Microsoft Azure web portal, we will do so with PowerShell.

Tip

Azure storage accounts have a primary and a secondary access key. If one of the access keys is compromised, it can be regenerated without affecting the other.

To obtain the Azure storage account keys, we will use the following steps:

  1. Open Microsoft Azure PowerShell from the Start menu and connect it to an Azure subscription.

    Note

    We must first be connected to Azure. If not connected to Azure, refer to the Connecting to a Microsoft Azure subscription section in Chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required