DEV Community

Bala Audu Musa
Bala Audu Musa

Posted on

STORING A CONFIDENTIAL DOCUMENT IN AZURE BLOB STORAGE

I intend to show you the steps on how I uploaded and stored a confidential document in Azure Blob Storage. I will also show you how I shared the document with an external user for 5 minutes without granting him full access to the storage account. Enjoy.


  1. I signed into my Azure account using the URL;
    https://portal.azure.com.

  2. I typed storage account into the search bar and
    clicked on the storage account when it appeared.

Image description


  1. Clicked on Create.

Image description


  1. Inside Basics menu Project details. I left the Subscription in the default Azure subscription 1. To create a Resource group, Clicked on Create new.

Image description


  1. I gave the Resource group a name and clicked on OK.

Image description


  1. Gave my Storage account a unique global name.

Image description


  1. Clicked on the drop-down and selected a matching region.

Image description

  1. Clicked on the primary service drop-down and selected Azure Blob Storage or Azure Data Lake Storage Gen 2.

Image description

  1. Under Performance left the option as the default, Standard.

Image description

  1. Clicked on Redundancy drop-down and selected Zone-redundant storage (ZRS).

Image description

  1. Clicked on Next.

Image description


  1. Under Advanced menu Security, made sure not to tick the highlighted box. This because we intend making the uploaded document confidential.

Image description


  1. Leave Access tier in the default Hot option.

Image description.

  1. In Network menu under Network Connectivity, selected Disable public access and use private access.

Image description

  1. Clicked on Next.
  2. Left all default settings under Data protection menu.
  3. Clicked on Next.
  4. Left all default settings under Encryption menu.
  5. Clicked on Review + create.

Image description.

  1. After validation process, clicked on Create.

Image description

  1. After deployment clicked on Got to resource.

Image description

  1. Clicked on Upload to upload the Confidential document from local disk.

Image description

  1. A blob must be in a Container. Since none existed before, clicked on Create new to create one.

Image description

  1. Gave container a name. Left Anonymous access level in default "Private" as it met our requirement of making the file confidential. Clicked on OK.

Image description

  1. Clicked on Browse for file to select the Confidential document.

Image description

  1. Selected the Confidential file and clicked on Open.

Image description

  1. Selected overwrite if file already exist.

Image description

  1. Left all default settings and clicked on Upload.

Image description

  1. Clicked on Data storage drop-down. Clicked on Containers.

Image description

  1. Selected the container and clicked on the 3 dots.

Image description

  1. Select Generate SAS.

Image description

  1. Double clicked on the container reet.

Image description

  1. Selected the file and clicked on the 3 dots.

Image description

  1. Click on Generate SAS.

Image description

  1. Image description

  2. Image description

Top comments (0)