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
- Code Europe: 22 April, Warsaw, April 26th Wroclaw — Authentication in ASP.NET Core
- Bucharest Technology Week: 20 May, Bucharest — Like a Fish in Water with ASP.NET Core
- Experts Live: 19 June, Ede NL — Top 10 Browser Threats Mitigated
- Developer week: 25 June, Nuremberg — Authentication in ASP.NET Core
- Pluralsight Live: 28 August, Salt Lake City — Understanding Modern Cloud Architecture
Don't have Pluralsight? Apply here to watch my courses below and many others for free!
- 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?