Windows Azure - Regenerate New Access Keys For Azure Storage Account

Introduction:

In this article we are going to see how to generate new Access Keys for an Azure Storage Account using the Windows Azure Management Portal.

Overview:

In our earlier articles we have seen the use of Access Keys and how to get the access keys from the Windows Azure Management Portal. In this article we are going to see the options for generating the access keys for authenticating the storage account. Let us see step by step how to generate the Access keys (both primary and secondary) for storage accounts using Windows Azure Management Portal.

Steps:

Login to the Management Portal using the following link:

http://www.microsoft.com/windowsazure/
We will see a screen like below. Select the "Sign into Management Portal" at the top right corner.

 Windows Azure Management Portal

After selecting "Sign into Management Portal" you will be asked for the Username and Password to authenticate the process as shown in the following screen:

authentication process 

After providing the correct credentials and clicking on the submit button it will navigate to the main screen of as shown in the following screen:

portal created

Now click on the Hosted Services, Storage Account and CDN option in the bottom menu and then select the Hosted Services as shown in the screen below.

1.png

Clicking on the Storage Accounts tab in the left menu will open the storage accounts list we created. We can also see the Primary and the Secondary Access Keys at the right corner menu as shown in the screen below.

2.png

Clicking on the View buttons next to the Primary/Secondary access keys will open the popup with the keys as shown in the screen below. We can just have a look first
to ensure it's generated correctly.

3.png

At the top Ribbon Menu, we will see an option Regenerate Access Keys as highlighted in the screen below. Which will be used to generate the access keys for the storage account.

4.png

Clicking on Regenerate Access Keys will open a popup window with the option to choose the Key to generate. We need to select if we want to regenerate for Primary or Secondary Access key as shown in the screen below.

5.png

Selecting a particular key (Primary or Secondary) and clicking the OK button will take us further and it will ask for confirmation too. Click Yes to proceed further as shown in the screen below.


6.png

It will take a bit of time to regenerate the access keys; we will see the progress as shown in the screen below.

7.png

Now after the process gets completed we can click the View Access Keys Ribbon button as shown in the screen below.

8.png

We will see the newly generated access keys, we can compare with the earlier one which we saved it for reference as shown in the screen below.

9.png

Conclusion:

So in this article we have seen how to regenerate the access keys for the storage account using the Windows Azure Management Portal.