Reputation: 185
I am new to Azure Functions and Azure Key vault. I am using Azure function version V3 for my project.
To Integrate Azure Key vault with Azure function, I have created both the resources in Azure and added secrets in Azure key vault.
I have inserted the Keys and values as @Microsoft.KeyVault(SecretUri=secret_uri_with_version)
in Application settings of function app and calling it using Environment.GetEnvironmentVariable("Key")
.
My Question is
Startup.cs
?Any help is appreciated!! Thanks in advance
Upvotes: 1
Views: 867
Reputation: 1484
Docs on key vault integration https://learn.microsoft.com/sv-se/azure/app-service/app-service-key-vault-references
Please ask any questions for clarification in answer
Upvotes: 2