Let’s go through the quickstart from Microsoft docs and use Azure Key Vault with .NET Core here. First let’s create our Azure resources. A resource group, keyvault and a keyvault secret. Great! Now in part 2 we will clone the Repo with the .NET app and edit the placeholder for the vault and secret!
We’ll continue the quickstart with clonding the repo and publish it to an Azure Web App. If you haven’t already make sure you have all the pre-requisites. ASP.NET and web development .NET Core cross-platform development .NET Core 2.1 SDK Next Clone the gitrepo into a folder on your local drive. Next locate the key vault […]
Now enable managed service identity for the webapp. Note the principal ID and assign get rights to the secret in your vault.