Question

cpdances on Thu, 14 Sep 2017 03:26:14


My Logic App calls my function app and uses the function app's host keys in the call. When my staging slot switches to production, it has different host keys than the other slot. The Logic App only knows the other host keys, so it stops working. I want both slots in my function app to have the same host keys, is this possible?

Sponsored



Replies

電腦神手吳子陵 on Thu, 14 Sep 2017 03:45:33


The same? This is not a safe mechanism, the system design is not so achieved. 
Do you have any special use? Maybe you can use different techniques.


cpdances on Thu, 14 Sep 2017 06:08:28


The host keys don't have to be the same at all times, just before I swap the slots. Do you know a different technique I could use? 

Gary Bushey on Thu, 14 Sep 2017 11:47:15


Definitely not possible as the other person stated.   How to you store the keys now?  Would it be possible to check to see which slot you are deploying to and then do an "IF" statement to get the correct key?