The internet is full of code examples that try to show all possible features of Azure KeyVault. I felt the need for a very basic example just retrieving a secret. Here it is. It's an ASP.NET Core console application with a couple of added NuGet packages: Microsoft.IdentityModel.Client.ActiveDirectory (for access token retrieval from Azure Active Directory (AAD) Microsoft.Azure.KeyVault Microsoft.Extensions.Configuration (to access the appsettings.json file with needed settings) Setup steps in Azure: Authentication in Key Vault works via Azure Active Directory (AAD). We first have to set that up. AAD steps Login to the Azure portal Go to Azure Active Directory Go to App registrations Click "New application registration" Select a...
Here are some upcoming public events I'll speak at. If you'd like a private event around one of these topics please contact me
- Pluralsight Live: 28 August, Salt Lake City — Understanding Modern Cloud Architecture
- MCT Global Summit: 22 October, Bruehl Germany — ASP.NET Core Security
- Update Conference: 22 November, Prague — ASP.NET Core Security + SignalR
- DotNet Conference: 28 November, Cologne Germany — ASP.NET Core Security
Don't have Pluralsight? Apply here to watch my courses below and many others for free!
- Getting Started with ASP.NET Core SignalR
- A Practical Start with React
- Understanding ASP.NET Core 2.x
- Getting Started with ES2017/ES8
- Scaling Applications with Microservices and NServiceBus 6
- Understanding ASP.NET Core Security
- A Practical Start with TypeScript
- Scaling Applications with Microservices, MassTransit and RabbitMQ
- Scaling Applications with Microservices and NServiceBus 5
- Introduction to Graph Databases and Neo4j
- Creating Mobile Apps: Native, Hybrid or Cross Platform?