What s the difference between managed identity and service principal

0 votes
What’s the difference between managed identity and service principal in Azure? Can someone explain it simply?
Oct 25 in Azure by Priyanka
• 4,080 points
61 views

1 answer to this question.

0 votes

Knowing the difference between managed identities and service principals helps you to choose the right method for securely accessing Azure resources, making your app easier to manage and more secure.

Just see the table below to understand better:

Aspect Managed Identity Service Principal
Definition Automatically created identity managed by Azure for apps. Manually created identity in Azure AD for apps or users.
Management Fully managed by Azure; no need to handle credentials. Requires manual management of credentials and secrets.
Creation Created directly on Azure resources without extra setup. Created manually in Azure AD by developers or admins.
Use Case Best for Azure services needing secure access to resources. Ideal for apps running outside Azure or with custom access needs.
Secret Rotation Automatic:  Azure takes care of key and certificate management. Manual: users must rotate secrets and keys regularly.

For further details, simply click here.

answered Oct 30 by Sham

Related Questions In Azure

0 votes
1 answer

What is the difference between tenant and client in Azure?

When you're working with Azure, especially in ...READ MORE

answered Oct 29 in Azure by Kruthi
58 views
0 votes
1 answer

Is there a logical difference between WebApp and API app in Azure?

Basically there was only minute differences between ...READ MORE

answered Apr 27, 2018 in Azure by null_void
• 3,220 points
1,195 views
0 votes
1 answer

Are Docker and Azure Service Fabric both the same?

It's confusing since Docker (the company) is ...READ MORE

answered Jun 1, 2018 in Azure by null_void
• 3,220 points
2,740 views
0 votes
1 answer

How to choose between Azure App Service and Azure Service Fabric?

Microsoft has created the document with a comparison for ...READ MORE

answered Jun 13, 2018 in Azure by null_void
• 3,220 points
2,338 views
0 votes
1 answer

What is Azure Service Principal?

An Azure Service Principal is essentially an ...READ MORE

answered Oct 30 in Azure by Shradda
82 views
+1 vote
2 answers
0 votes
1 answer

What OS is Jenkins installed on Azure Virtual Machine?

Under Managed Jenkins there's a section called ...READ MORE

answered Apr 4, 2018 in DevOps & Agile by DareDev
• 6,890 points
855 views
+1 vote
3 answers

Where to find the Microsoft.IdentityModel dll?

Include Microsoft.IdentityModel.Extensions for WIF runtime support by following the following ...READ MORE

answered Oct 23, 2018 in Azure by Progbaaa
8,672 views
0 votes
1 answer

What is the difference between logic app and Azure App Service?

Knowing the difference between Logic Apps and ...READ MORE

answered Oct 30 in Azure by Krishi
155 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP