Stop Storing Secrets in appsettings.json! Use Azure Key Vault Instead
Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt Learn how to secure your .NET application secrets using Azure Key Vault—from creating your first vault to integrating it cleanly inside an ASP.NET Core application. In this video, I walk you through everything you need to know to get started: What you’ll learn • How to create an Azure Key Vault • Which RBAC roles you actually need (and why) • How to store secrets with proper versioning • How to authenticate with DefaultAzureCredential • How to fetch secrets directly from Key Vault using the SDK • How to plug Key Vault into ASP.NET Core’s configuration system • How to resolve connection strings and options from Key Vault • How to remove secrets from appsettings.json entirely By the end, you’ll have a clean setup for managing sensitive configuration securely—exactly how I structure real production apps. Check out my courses: https://www.milanjovanovic.tech/courses Read my Blog here: https://www.milanjovanovic.tech/blog Join my weekly .NET newsletter: https://www.milanjovanovic.tech Chapters

Microservices Architecture Project Setup From Scratch With .NET Aspire

What is Azure Key Vault? | How to Deploy an Azure Key Vault

Build Async Messaging in .NET with Azure Service Bus (Step-by-Step)

5 HttpClient Best Practices Every .NET Dev Should Know

ASP.NET Core Identity from Scratch: DB Context, Roles, Registering Users

Replace Switch Statements with the Strategy Pattern in C#

How SQL Indexes Actually Work (Step-by-Step)

Goodbye SignalR? Native Server-Sent Events are Here!

Azure Key Vault Deep Dive (AZ-500)

A Beginners Guide to Azure Blob Storage

I Failed This .NET Interview Question... So You Don't Have To

What do tech pioneers think about the AI revolution? - The Engineers, BBC World Service

Intro to Azure Service Bus - The Power Behind Microservices

Azure Landing Zones Overview

How To Deploy Your .NET Application To Azure Using GitHub Actions (2025)

GitHub Actions CI/CD for Aspire Applications (.NET)

Azure Interview Questions for Developers – Top 10 You Can’t Miss

Azure Logic Apps Tutorial

Why Shopify Rejected Microservices (And What They Did Instead)

