Azure: managed identity vs service principal for a web app

posée 8 days ago240 vuesen

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?

🤖 Diagnostic IA

Généré par IA. Ce n'est pas une réponse — la communauté ci-dessous le confirme ou le corrige. Vérifiez toujours avant de vous y fier.

posée 8 days ago
  • Thanks, this helped. Did you also try clearing the cache?

    fabiennedorval 5 days ago

1 réponse

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.

Connectez-vous pour dire si ça a marché.

answered 8 days ago

Sign in and verify your email to post an answer.