Free

Store Sensitive Data in Azure Key Vault

This IT Pro Challenges virtual lab teaches learners how to configure azure key vault and a web app to use a secret. Learners will gain experience using azure key vault and access policy to store a connection string as a secret. Skills learned in this lab are valuable in multiple job roles such as system administrator and Azure administrator.

0
45
M
Time
Beginner
difficulty
1
ceu/cpe

Course Content

No items found.
No items found.
Course Description

Azure Key Vault is a mechanism for securely saving and accessing secrets. A secret is anything that users want to tightly manage access to, such as API keys, passwords, or certificates. A vault is a legitimate group of secrets. A vault owner can build a key vault and get full access and power over it. The vault owner can also configure auditing to log who obtains secrets and keys. Administrators can check the key lifecycle.

In this hands-on lab, you will learn how to store sensitive data in the azure key vault. You will begin by provisioning an Azure Key Vault and then add an access policy to allow the service principal assigned to the Web App to access secrets. After that, you will add a connection string for a Storage Account as a secret to the Key Vault. Finally, you will update the Web App to use the secret and test that the Web App can retrieve the connection string. The other guided and advanced challenges in this series are “Configure Application Insights” and “Can you Monitor a Web App?”

Understand the Scenario

In this virtual lab, you are a system administrator for a company that provides web hosting services for customers. Your job is to secure sensitive data such as connection strings for a Web App. You will use an Azure Resource Group that contains a preconfigured Storage Account and Web App.

Provision a Key Vault

Azure Key Vault is a cloud setting that gives a reliable store for secrets. Users can securely store various crucial things, such as keys, passwords, certificates, and other secrets. Azure key vaults can be designed and maintained through the Azure portal. In this section of the lab, learners will learn how to provision a key vault. First, they will provide a new Standard tier Key Vault in the resource group and add a new access policy that grants the service principal the right to Get and List secrets. App Services support system-provisioned service principals and user-provisioned service principals. The system-provisioned user principal can be provisioned at the time the App Service is provisioned or later and is tied to the lifetime of the App Service. Finally, they will check and confirm that a Key Vault named kv12650869 is provisioned, and the mms12650869 service principal has access to the Key Vault.

Add a secret to the Key Vault

In this section of the lab, you will now add a secret to the key vault. First, you will navigate to the Access keys page of the sa12650869 Storage Account blade and copy the key1 connection string and paste and open the kv12650869 Key Vault blade to add a Secret named connection and then copy the Secret Identifier of the secret. If you include the version number in the Secret Identifier, you will need to update the Web App if the value of the secret is updated. Finally, you will check and confirm that a secret named connection in the kv12650869 Key Vault contains the connection string to the sa12650869 Storage Account, and the URI of the secret has been recorded.

Configure a Web App to use a secret

In this section, you will learn how to configure a web app to use a secret after adding a secret to the key vault. First, you will navigate to the mms12650869 Web App blade and add an application setting named secretUri that has the Secret Identifier of the connection secret. It may take a minute or more for the site to appear. If you receive a server error, refresh the browser until the site appears. Next, you will select the Test Key Vault button. You should receive a success message. The Web App retrieves the Storage Account connection string from Key Vault, then establishes a connection to the Storage Account and adds messages to a queue in the Storage Account. Finally, you will check and confirm that the mms12650869 Web App has an application setting with the URI of the connection secret, and the mms12650869 Web App successfully retrieves the connection string from the kv12650869 Key Vault.

Lab Summary Conclusion

After completing the “Store Sensitive Data in Azure Key Vault” virtual lab, you will have accomplished the following:

  • Provisioned an Azure Key Vault.
  • Allowed the service principal for a Web App access to secrets in the Key Vault.
  • Stored a connection string as a secret in the Key Vault.
  • Accessed the secret from a Web App.

This course is part of a Career Path:
No items found.

Instructed by

No items found.
Provider
Cybrary Logo
Certification Body
Certificate of Completion

Complete this entire course to earn a Store Sensitive Data in Azure Key Vault Certificate of Completion

Coming mid-July
Cybrary Reimagined.
Level up with structured, role-aligned career paths.
ALL NEW!
Cybrary Reimagined.
Celebrate Cybersecurity Awareness Month with our buy 2, get 1 offer!
Level up with structured, role-aligned career paths.
Valid until October 31. Elevate your skills today!
Start Now

Heading

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

This is some text inside of a div block.
Share

Purpose Statement

Cybrary Career Paths are comprehensive training programs designed to prepare you for the most in-demand roles in the cybersecurity workforce. Each path follows a Learn, Practice, Prove model and includes different activity types aligned to key topics within the path’s security domain. As you progress through the path, your progress will be measured in real time using Experience Points (XP) that serve as a comprehensive capability score for each topic. Upon completing all of the requirements for a path, you will be rewarded with a shareable digital badge via Credly.
This is some text inside of a div block.
This is some text inside of a div block.
M
Time
This is some text inside of a div block.
difficulty
This is some text inside of a div block.
ceu/cpe

Overview

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

Frequently Asked Questions
No items found.
What Will I Learn?
Foundations
Focused on the core IT competencies that cybersecurity professionals need to succeed in any career path.
Defensive Security
Focused on trying to find the bad guys. Topics such as threat intelligence, threat hunting, network monitoring, incident response. Defensive security is a reactive measure taken once a vulnerability is found through prevention, detection, and response.
Engineering and Operations
Focused on building and operating information systems.
Governance, Risk, and Compliance
Focused on the core IT competencies that cybersecurity professionals need to succeed in any career path.
Leadership and Management
Focused on program design and oversight. Covers project and program management.
Offensive Security
Focused on validating security controls by trying to break them (i.e. penetration testing or ethical hacking). Topics such as Kali Linux, metasploit, scanning, and privilege escalation. Offensive security seeks out the problem or vulnerability through ethical hacking and finds a solution to disable the operation.
Offensive Security
Focused on the core IT competencies that cybersecurity professionals need to succeed in any career path.
Path Outline

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

Course Outline

No items found.
No items found.
No items found.

What Our Learners Are Saying

Join 3 million+ users, including 96% of Fortune 1000 companies who use our platform to upskill their teams. See what the buzz is about - start learning for free!

No items found.