Create Key Vault in Azure

Requirement

The security is always a big concern in any data driven applications. It is always recommended to hide the actual credential either using by encryption/decryption in the code or any configuration. Azure provides a cloud service called KEY VAULT to store and secure your credential or any secure value. In this post, we are going to create a Key Vault in Azure.

Solution

Step 1: Login to Azure Portal

Login to the portal: portal.azure.com

Step 2: Search for Azure Key Vault

Step 3: Create New Key Vault

Click on + ADD on the Key Vaults page:

Section I: Basics

Section II: Access Policy

You can customise the Access to options (Azure Virtual Machines for Deployment, Azure Resource Manager for template deployment, Azure Disk Encryption for volume encryption) and also you can choose the permission options like Key Permission, Secret Permission and Certificate Permission.

Section III: Networking

Choose the connectivity Method:

  • Public Endpoint(all networks)
  • Public Endpoint(Selected network)
  • Private Endpoint

Section IV: Tags

Keep it blank.

All the section has been done, now click on review + create

It will review and then create button will available after validation get passed.

Click on Create

Overview of created Key Vault

How to create secret

Go to Secret at the left panel under setting, you will see Generate/import option, click on that

Once you create the secret, it will be listed under secrets.

Wrapping Up

The security is always comes on top. We can create and use Key Vault for securing the secrets. It is very easy to create and use wherever required to fetch from Key Vault.

Sharing is caring!

Subscribe to our newsletter
Loading

Leave a Reply