SDL Least-Privilege Token Rotation Causing Service Instability Concerns
20.5K reputation · 22 May 2022, 12:52 UTC
Secure Design Phase Scope
The Microsoft Security Development Lifecycle (SDL) requires applying the Principle of Least Privilege during the Design phase, using threat modeling to identify trust boundaries and reduce the attack surface. A documented element of this approach is replacing static credentials with short-lived tokens, automated rotation, and a managed secret store so that expired or leaked credentials lose value quickly.
Unresolved Design Tension
The framework defines the goals but not the concrete parameters. Shortening token TTL and rotating credentials more aggressively improves security posture, yet overly tight rotation windows can produce authentication failures or runtime instability if the secret store and consuming services fall out of sync. The SDL itself is a process framework, so the acceptable trade-off is left to each implementation.
How should token TTL and rotation frequency be calibrated to satisfy SDL least-privilege requirements without risking availability? What criteria should determine the security context for a service that must authenticate across multiple trust boundaries identified during threat modeling?