Azure: managed identity vs service principal for a web app
poze 2 months ago293 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 2 months 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 2 months ago
David Charles 2.9k
Sign in and verify your email to post an answer.