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
- How the values from Key vault is getting into my Function app?
- Will my function app have to make a call every time to access value from Key vault? If so, will there be any performance issues for my project?
- Can We also inject Key vault values in
Startup.cs
?
Any help is appreciated!! Thanks in advance