Reputation: 5216
I am sure I am missing the obvious and getting to grips with Azure functions.
Question
In debug what do I need to set up in order to read the Enviroment variables from keyVault?
It seems to return null in debug? is there a special settings in local.settings.Json?
thanks
Upvotes: 4
Views: 1073
Reputation: 14080
local.settings.json? No, what you should do is put the reference to the configuration settings on azure instead of local.settings.json. And you need to give your function app fully access policy to key vault.
Have a look of this doc:
Upvotes: 2