How to Create & Configure Key Vaults in Microsoft Azure

Azure Key Vault is a cloud service for securely storing and accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, or cryptographic keys.

Azure Key Vault helps solve the following problems:

  • Secrets Management – Azure Key Vault can be used to Securely store and tightly control access to tokens, passwords, certificates, API keys, and other secrets.
  • Key Management – Azure Key Vault can also be used as a Key Management solution. Azure Key Vault makes it easy to create and control the encryption keys used to encrypt your data.
  • Certificate Management – Azure Key Vault is also a service that lets you easily provision, manage, and deploy public and private Transport Layer Security/Secure Sockets Layer (TLS/SSL) certificates for use with Azure and your internal connected resources.

 

  • Login to azure portal.
  • Click on All Services.
  • Select Key Vaults.

 

Fig 1

 

  • Click on Create.

Fig 2

 

  • On Basics tab provide the following values:-

 

  • Subscription: An Azure subscription grants you access to Azure services.
  • Resource group name: A resource group is a collection of resources.
  • Provide the Key vault name.
  • Select Region & Pricing Tier.
  • Set the number of days to retain deleted vault.
  • Leave the other options.
  • Click on Next Access Policy.

 

Fig. 3Fig. 4

 

  • At access policy, Select access policy & the permissions you want under Certificate permissions, Key permissions, and Secret permissions.
  • Click on Next Networking.

 

Fig. 5

 

  • At Networking, Select the Network Connectivity method, If you want  Key Vault will be public then select public endpoint otherwise select private endpoint.
  • Next Click on Tags.

 

Fig. 6

 

  • On Tags Tab, Enter the tag name and value for Key Vault.
  • Click Next on Review + Create.

 

Fig. 7

 

  • If you get a message “Validation passed”.
  • Then click on Create.

 

Fig. 8

 

  • After some time, you will see a message as “Your deployment is ready”.
  • Click on “Go to resources” & You can see that the Key Vault is there with the name we provide.

 

How to Create Keys, Secrets or Certificate in Key Vault.

  • Click on New Key Vault name.

 

Fig 9

 

  • On Overview page of Key Vault there can see Key Vault URL & other configurations.

 

Fig.10

 

Keys

  • Click on Keys.
  • Then, Click on Generate/Import option.

 

Fig.11

 

  • Select the options like Generate or Import.
  • Provide the Key name.
  • Select Key Type & Key Size.
  • Set the Activation & Expiration Date.
  • Click on Create.

 

Fig.12

 

Secrets

  • Click on Secret.
  • Click on Generate/Import option.

 

Fig.13

 

  • Select Upload Options like Manual, Generate or Import.
  • Provide the Secret name & Value.
  • Set the Activation & Expiration Date.
  • Then click on create.

 

Fig.14

 

Certificate

  • Click on Certificate.
  • Click on Generate/Import option.

 

Fig.14

 

  • Select the Method of Certificate Creation like Generate ,Import or Manual.
  • Provide the Certificate name.
  • Select the Type of Certificate Authority.
  • Set the Validity month.
  • Leave the other settings.
  • Then click on create.

 

Fig.15Fig.16

 

 

 

2 responses to “How to Create & Configure Key Vaults in Microsoft Azure”

  1. I’m really enjoүing the deѕign and layout of youг website.
    It’ѕ a very easy on the eyes which makes it much more enjoyable for me to come here and
    visit more often. Diԁ you hire out a developer to create your theme?

    Outstanding worқ!

Leave a Reply