QuestionQ189

VerifiedDeploy and manage Azure compute resources

You have a Microsoft Entra tenant named contoso.com.

You have an Azure subscription that contains an Azure App Service web app named App1 and an Azure key vault named KV1. KV1 contains a wildcard certificate for contoso.com and uses the vault access policy permission model.

You have a user named User1@contoso.com that is assigned the Owner role for App1 and KV1.

You need to configure App1 to use the wildcard certificate of KV1.

What should you do first?

Explanation

For Azure App Service to import and use a certificate from Azure Key Vault, the vault must grant the App Service resource provider/service principal data-plane permission to read the certificate and its secret. Because KV1 uses the vault access policy permission model, you create a Key Vault access policy that grants the Microsoft Azure App Service principal Get permission on secrets and certificates. If a vault uses the Azure RBAC permission model instead, you assign the Key Vault Certificate User role to the Microsoft Azure App Service resource provider. A managed identity on the web app is for application access to Key Vault from code, not for App Service platform certificate import and binding.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!