Skip to main content

Create reference to Azure Key Vault content from function code

 

Add your secret to Azure Key Vault

image.png

Create managed identity of function

image.png

Create access policy

 

image.png

Select appropriate permissions

image.png

Select Azure Functions managed identity and end

Create environment variable link

image.png

Get environment variable content

image.png