Share via

Function apps - (vnet enabled) when we allow selected network in keyvault, function app was not able to use secrets in keyvalut

Nani p 1 Reputation point
2021-12-10T19:19:11.997+00:00

Function apps - (vnet enabled) when we allow selected network in keyvault, function app was not able to use secrets in keyvalut but in IAM roles under function app I see key vault secrets user role has been assigned. I am I missing any additional permissions here?

Azure Key Vault
Azure Key Vault

An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Cristian SPIRIDON 4,486 Reputation points Volunteer Moderator
    2021-12-11T05:43:52.287+00:00

    Hi,

    The access permision is not granted în this way.

    You basically need to create an managed/user identity for the function app and then create an access policy în the key vault.

    More info at:
    https://learn.microsoft.com/en-us/azure/app-service/app-service-key-vault-references#granting-your-app-access-to-key-vault

    Hope this helps!

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.