Azure: managed identity vs service principal for a web app
poze 8 days ago238 gadeen
3
My App Service needs to read from Key Vault and a Storage Account. When should I use a system-assigned managed identity versus a registered service principal?
🤖 Dyagnostik IA
Se IA ki fè l. Se pa yon repons — kominote a anba a konfime oswa korije l. Toujou verifye anvan ou fye l.
Thanks, this helped. Did you also try clearing the cache?
— fabiennedorval 5 days ago
1 Repons
4
Prefer a system-assigned managed identity — no secrets to rotate, lifecycle tied to the resource. Use a service principal only when the identity must be shared across resources or used from outside Azure.
Konekte pou di lòt moun si li te mache.
answered 8 days ago
David Charles 407
Sign in and verify your email to post an answer.