Managed Identity and AppAuthentication
I recently wrote a post where I did some exploring into managed identity for Azure app services [https://blog.novanet.no/exploring-azure-app-service-managed-identity/] . I showed how to get an access token, but only briefly mentioned the Microsoft.Azure.Services.AppAuthentication [https://www.nuget.org/packages/
Exploring Azure App Service Managed identity
Quite often we want to give an app service access to resources such as a database, a keyvault or a service bus. We used to do this by configuring the app service with secrets that enabled the application to access these protected resources. However,