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

Course
This is some text inside of a div block.

Store Sensitive Data in Azure Key Vault

Course

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.

Path Releasing Q2 2025
Full access included with 
Insider Pro
 and 
Teams

0

H

45

M
Time

Beginner

i
This is some text inside of a div block.
Experience Level

1

i

This is some text inside of a div block.
CEU's

1

Enrollees

Heading

H

Heading

M
Time

Heading

i
This is some text inside of a div block.
Experience Level

Heading

i

This is some text inside of a div block.
CEU's

Heading

Enrollees

Learners at 96% of Fortune 1000 companies trust Cybrary

About this course

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.

Read More

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.

Train Your Team

Cybrary’s expert-led cybersecurity courses help your team remediate skill gaps and get up-to-date on certifications. Utilize Cybrary to stay ahead of emerging threats and provide team members with clarity on how to learn, grow, and advance their careers within your organization.

Included in a Path

No items found.
Learn

Learn core concepts and get hands-on with key skills.

Practice

Exercise your problem-solving and creative thinking skills with security-centric puzzles

Prove

Assess your knowledge and skills to identify areas for improvement and measure your growth

Get Hands-on Learning

Put your skills to the test in virtual labs, challenges, and simulated environments.

Measure Your Progress

Track your skills development from lesson to lesson using the Cybrary Skills Tracker.

Connect with the Community

Connect with peers and mentors through our supportive community of cybersecurity professionals.

Success from Our Learners

"Cybrary really helped me get up to speed and acquire a baseline level of technical knowledge. It offers a far more comprehensive approach than just learning from a book. It actually shows you how to apply cybersecurity processes in a hands-on way"

Don Gates

Principal Systems Engineer/SAIC

"Cybrary’s SOC Analyst career path was the difference maker, and was instrumental in me landing my new job. I was able to show the employer that I had the right knowledge and the hands-on skills to execute the role."

Cory

Cybersecurity analyst/

"I was able to earn my CISSP certification within 60 days of signing up for Cybrary Insider Pro and got hired as a Security Analyst conducting security assessments and penetration testing within 120 days. This certainly wouldn’t have been possible without the support of the Cybrary mentor community."

Mike

Security Engineer and Pentester/

"Cybrary really helped me get up to speed and acquire a baseline level of technical knowledge. It offers a far more comprehensive approach than just learning from a book. It actually shows you how to apply cybersecurity processes in a hands-on way"

Don Gates

Principal Systems Engineer/SAIC

"Cybrary’s SOC Analyst career path was the difference maker, and was instrumental in me landing my new job. I was able to show the employer that I had the right knowledge and the hands-on skills to execute the role."

Cory

Cybersecurity analyst/

"I was able to earn my CISSP certification within 60 days of signing up for Cybrary Insider Pro and got hired as a Security Analyst conducting security assessments and penetration testing within 120 days. This certainly wouldn’t have been possible without the support of the Cybrary mentor community."

Mike

Security Engineer and Pentester/

"Becoming a Cybrary Insider Pro was a total game changer. Cybrary was instrumental in helping me break into cybersecurity, despite having no prior IT experience or security-related degree. Their career paths gave me clear direction, the instructors had real-world experience, and the virtual labs let me gain hands-on skills I could confidently put on my resume and speak to in interviews."

Cassandra

Information Security Analyst/Cisco Systems

"I was able to earn both my Security+ and CySA+ in two months. I give all the credit to Cybrary. I’m also proud to announce I recently accepted a job as a Cyber Systems Engineer at BDO... I always try to debunk the idea that you can't get a job without experience or a degree."

Casey

Cyber Systems Engineer/BDO

"Cybrary has helped me improve my hands-on skills and pass my toughest certification exams, enabling me to achieve 13 advanced certifications and successfully launch my own business. I love the practice tests for certification exams, especially, and appreciate the wide-ranging training options that let me find the best fit for my goals"

Angel

Founder,/ IntellChromatics.