EPISODE · Oct 7, 2025 · 20 MIN
Ditch Passwords in Azure: Entra ID Tokens, Managed Identities & How Real Apps Secure Everything
from M365.FM - Modern work, security, and productivity with Microsoft 365 · host Mirko Peters - Founder of m365.fm, m365.show and m365con.net
Passwordless Azure security, Entra ID, managed identities and access tokens – this episode is for people searching “ditch passwords Azure apps”, “managed identity vs secrets”, “Entra ID app authentication”, “token‑based security Azure”, “service identity best practices” or “secrets in appsettings.json risk”. If your apps still hide usernames and passwords in configs, Key Vault or Git history, this conversation shows how real‑world Azure apps swap credentials for tokens, shrink blast radius and stop living one leaked secret away from an incident.We start with the “doormat key” problem: hard‑coded credentials in web.config, appsettings.json, scripts and pipelines. You’ll hear why secrets never stay in one place—how they spread across dev, test, backups, laptops and screenshots—and why treating passwords as “internal” is just slow‑motion public exposure. We talk through real patterns of secret sprawl (Git repos, logs, zipped backups, contractor access) and why “just this once for speed” turns into years of brittle, unrotated keys guarding your most sensitive resources.Then we flip the script and make the case for tokens. We break down how Entra ID issues scoped, short‑lived access tokens, why that beats static credentials every time, and how Microsoft identity libraries handle acquisition and refresh so you don’t have to hand‑roll OAuth logic. Tokens act like time‑boxed guest passes instead of master keys: tightly scoped, self‑expiring, full of claims your APIs can inspect to enforce least privilege instead of trusting “whoever has the connection string”. You’ll hear practical examples of how tokens turn what would have been a full‑blown breach into a limited annoyance because the scope and lifetime are controlled by design.From there, we introduce managed identities as “service principals, but less dumb.” Instead of generating client secrets and chasing expiry dates, your app gets a first‑class identity automatically managed by Azure, which it uses to request tokens for Storage, SQL, Key Vault and more—no secrets, no manual rotation, no config files stuffed with skeleton keys. We walk through how system‑assigned and user‑assigned managed identities work, how to wire them into your code, what changes in your connection patterns, and how this simplifies both security and operations for real Azure workloads.WHAT YOU WILL LEARNWhy hard‑coded credentials and “internal only” secrets in configs are guaranteed to leak over time.How secret sprawl across repos, logs, backups and laptops creates a buffet for attackers.How Entra ID issues scoped, short‑lived tokens that beat static passwords every time.How Microsoft identity libraries handle token acquisition and refresh so you don’t.Why tokens turn master keys into time‑boxed guest passes with limited blast radius.How managed identities replace service principal secrets with built‑in, managed app identities.Practical patterns for connecting apps to Azure services using tokens instead of passwords.A realistic path to migrate away from connection strings with credentials to modern, token‑based auth.THE CORE INSIGHTThe core insight of this episode is that you don’t secure Azure apps by hiding passwords better—you secure them by eliminating passwords altogether. Once you move to Entra‑issued tokens and managed identities, your apps stop hoarding skeleton keys and start using scoped, short‑lived access that auto‑heals when something leaks, making both your security posture and your operations radically easier to live with.WHO THIS IS FORCloud and application developers building on Azure today.Security and identity engineers fighting secret sprawl across code and pipelines.DevOps teams maintaining connection strings and service principals with expiring secrets.Architects designing Zero Trust‑aligned app authentication patterns in Azure.Anyone who has ever checked a secret into Git “just this once” and regretted it later.ABOUT THE HOSTMirko Peters is a Microsoft 365 consultant and host of M365.FM, where he explores modern work, security and productivity with Microsoft 365, Azure and Entra ID. He helps teams replace legacy, password‑centric designs with token‑ and identity‑driven architectures that are easier to operate, easier to audit and far harder for attackers to turn into headline incidents.Become a supporter of this podcast: https://www.spreaker.com/podcast/m365-fm-modern-work-security-and-productivity-with-microsoft-365--6704921/support.
What this episode covers
Passwordless Azure security, Entra ID, managed identities and access tokens – this episode is for people searching “ditch passwords Azure apps”, “managed identity vs secrets”, “Entra ID app authentication”, “token‑based security Azure”, “service identity best practices” or “secrets in appsettings.json risk”. If your apps still hide usernames and passwords in configs, Key Vault or Git history, this conversation shows how real‑world Azure apps swap credentials for tokens, shrink blast radius and stop living one leaked secret away from an incident.We start with the “doormat key” problem: hard‑coded credentials in web.config, appsettings.json, scripts and pipelines. You’ll hear why secrets never stay in one place—how they spread across dev, test, backups, laptops and screenshots—and why treating passwords as “internal” is just slow‑motion public exposure. We talk through real patterns of secret sprawl (Git repos, logs, zipped backups, contractor access) and why “just this once for speed” turns into years of brittle, unrotated keys guarding your most sensitive resources.Then we flip the script and make the case for tokens. We break down how Entra ID issues scoped, short‑lived access tokens, why that beats static credentials every time, and how Microsoft identity libraries handle acquisition and refresh so you don’t have to hand‑roll OAuth logic. Tokens act like time‑boxed guest passes instead of master keys: tightly scoped, self‑expiring, full of claims your APIs can inspect to enforce least privilege instead of trusting “whoever has the connection string”. You’ll hear practical examples of how tokens turn what would have been a full‑blown breach into a limited annoyance because the scope and lifetime are controlled by design.From there, we introduce managed identities as “service principals, but less dumb.” Instead of generating client secrets and chasing expiry dates, your app gets a first‑class identity automatically managed by Azure, which it uses to request tokens for Storage, SQL, Key Vault and more—no secrets, no manual rotation, no config files stuffed with skeleton keys. We walk through how system‑assigned and user‑assigned managed identities work, how to wire them into your code, what changes in your connection patterns, and how this simplifies both security and operations for real Azure workloads.WHAT YOU WILL LEARNWhy hard‑coded credentials and “internal only” secrets in configs are guaranteed to leak over time.How secret sprawl across repos, logs, backups and laptops creates a buffet for attackers.How Entra ID issues scoped, short‑lived tokens that beat static passwords every time.How Microsoft identity libraries handle token acquisition and refresh so you don’t.Why tokens turn master keys into time‑boxed guest passes with limited blast radius.How managed identities replace service principal...
NOW PLAYING
Ditch Passwords in Azure: Entra ID Tokens, Managed Identities & How Real Apps Secure Everything
No transcript for this episode yet
Similar Episodes
Mar 26, 2026 ·1m
Mar 19, 2026 ·34m
Feb 18, 2026 ·11m
Feb 11, 2026 ·45m