Azure Key Vault + Azure Managed Identity + Azure App Service
Why Not Secure Your Keys and Secrets? Asp Net Core with Azure Key Vault Integration
Why not secure your keys and secrets in your application, if you can do it in a few minutes? If this question makes you think at least for a minute, then don’t think more, just do it.
Here in this post, we will secure our connection string and use it in our application. Sounds good? Then, let’s start.
Prerequisites
I will try to make this post as simple as it can, however, a basic idea of the preceding things definitely makes things easier.
- Azure Key Vault
- Azure App Service
- Asp Net Core
- C#
Please remember that you need a valid Azure subscription. If you are looking to secure your Azure Function app settings, read my post here.
Build an Asp Net Core Web App
At thing stage, I am assuming that you already have an application, if you don’t have just create a sample application using some visual studio templates. Once the application is loaded, we can install the package “Microsoft.Extensions.Configuration.AzureKeyVault” from…