I have an Azure KeyVault that is secured at the network-level. I only allow connections from 2 specific vnets/subnets.
However, I also want one of my web app (outside of the subnets) to be able to fetch secrets from the KeyVault. I added an access policy to let my Web App Get and List secrets.
I thought that setting
Allow trusted Microsoft services to bypass this firewall? would be enough to let my App Service access the KeyVault (they are in the same subscription). Apparently it's not the case.
What setting should I use to be able to keep my firewall rules and allow my web app to fetch the secrets?