Showing posts with label Azure Storage Explorer #Blob. Show all posts
Showing posts with label Azure Storage Explorer #Blob. Show all posts

Sunday, October 13, 2019

Using Azure Storage explorer to upload and download files to and from your Azure storage accounts

Hello Readers!

This is my third blog  on azure Storage accounts. You can find my previous blogs on storage accounts here . Part1 Part2. 

With the below , I am showing here how to use Azure Storage explorer to upload and download files to /from your Storage account. Please install azure explorer according to your platform (Windows/Linux etc)  from here
Before we begin, I will explain about two tiny concepts in Storage account authentication.

Access keys: 

These works like passwords for authentication, yet do not expire unless someone (Storage account owner/Admin) regenerate it . There will be two access keys maintained for a storage account. The refresh button next to each will regenerate a new one which need to be updated if you have supplied it for authentication in your applications/Client connections.

You also have a connection string here, which contains the key and protocols etc.Copy them using the copy button at the end of the textbox.


Shared Access Signatures:

These are access keys that expires after a set date . We can also limit the access through various other options as shown in the below window.Below is a sample one I am showing for Demo. If you have noticed the last portion, it uses the access keys (key1/Key2) for signing. 



Once you click on Generate above, you will have the below window.

It has a connection string common across all other services , SAS token that you can use seperately and different SAS URLs for all 4 storage services.



You can either use the connection string from SAS or the access keys above for connecting from an azure storage explorer. Steps are as below.

Launch Azure storage explorer in your machine. 

Right click on Storage accounts and select "Connect to Azure Storage".
Select "Use a connection string" to use connection strings( copied from the steps above) in the next window to connect to your storage account.





Once you click on next, you should be able to see options like below( in the left pane)



You can create new blob containers, file shares, queues and tables by right clicking and selecting "Create New " options and upload or download files as needed. Mostly we would need the blob containers for uploading and downloading giant backup files if you are into Database migrations.

I will soon write on Database migrations using Native backup restore method . I think we are good now for the topic alone.

Thanks for Visiting !