gpt4 book ai didi

azure - Azure 中服务主体和托管身份之间的区别

转载 作者:行者123 更新时间:2023-12-04 11:06:39 24 4
gpt4 key购买 nike

我想知道是否始终建议在 Azure 中使用托管身份(主要是系统分配的身份或服务主体)?与托管身份相比,什么时候应该在 Azure 中使用服务主体,其中一种相对于另一种的优势是什么?任何帮助将不胜感激。

最佳答案

Internally, managed identities are service principals of a special type, which are locked to only be used with Azure resources. When the managed identity is deleted, the corresponding service principal is automatically removed. Also, when a User-Assigned or System-Assigned Identity is created, the Managed Identity Resource Provider (MSRP) issues a certificate internally to that identity.

Source: What are managed identities for Azure resources?

So what’s the difference?
Put simply, the difference between a managed identity and a service principal is that a managed identity manages the creation and automatic renewal of a service principal on your behalf.

Source: What’s an Azure Service Principal and Managed Identity?

关于azure - Azure 中服务主体和托管身份之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61322079/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com