Have you failed a job interview?
Send us your job interview questions and get correct answers.

How can you reference Azure Key Vault from Azure App Service?

Experience Level: Senior
Tags: Azure CloudAzure Key VaultAzure Virtual Machines

Answer

First the Azure Key Vault needs to allow Azure App Service to connect
  • Create a system managed identity in Azure App Service
  • In Azure Key Vault, configure the Azure App Service principal to access Azure Key Vault

Then create a reference to Azure Key Vault

  • Go to Azure App Service - Settings - Configuration -Application Settings
  • Use the reference syntax - @Microsoft.KeyVault(VaultName=myvault;SecretName=mysecret)
Related Azure Cloud job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
Azure Key Vault
Azure Key Vault

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
Azure Virtual Machines
Azure Virtual Machines

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
AZ-500 Microsoft Azure Security Technologies Preparation
AZ-500 Microsoft Azure Security Technologies Preparation

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself