Access azure key vault from an ASP.NET core app on IIS using X.509 certificate

Image by Reimund Bertrams from Pixabay

In this post, I go over in more details the steps of retrieving secrets from an azure key vault using client id and secret. This approach is one of the three ways to authenticate a Windows virtual machine against azure key vault. It is suitable if your app runs on a virtual machine which is not an azure resource and so cannot use azure managed identity.