Last post May 29, 2020 02:58 AM by robby32
May 28, 2020 01:20 AM|robby32|LINK
I have an app service (azure function ) and under App Keys I can see the Host Keys and System Keys.
I have created a Key Vault in Azure, How can i coipy my values into the Key Vault for this particular App ?
So i want to user the key vault to hold a number of diferent apps that are hosted in Azure with the associated Keys .
Is that possible or am i missing something with the purpose of the Key Vault ?
May 28, 2020 09:23 AM|Brando ZWZ|LINK
According to your description, I couldn't understand your requirement clearly.
Do you mean you want to add key vault to azure key vault service?
If this is your requirement, I suggest you could try to use azure key vault secret to achieve your requirement.
May 28, 2020 09:31 AM|robby32|LINK
Documentation was helpful. I have even created a Function App Hosted in Azure. I access the functions via a Key in the Host Keys namely, default. This is linked to a secret in the KeyVault via the following format :
but if an Admin comes along and clicks on "renew key" that link is lost . Is that how its meant to work ? shouldnt it keep the link to the Key Vault ?
May 29, 2020 02:14 AM|Brando ZWZ|LINK
As far as I know, renew means it will re-generated the function system key. But the azure key vault doesn't know the key is re-generated. So it will remove the link. For this kind of issue, you should re-bind the keyvalut to this function.
May 29, 2020 02:58 AM|robby32|LINK
yes i thought this may be the case , so as I dont want to always retrieve the key from the portal . There is no real way way to have a static key that will always invoke the function.
Maybe i could retrieve the defaultkey everytime before i invoke the call and attach to the url , will that work ?