简体   繁体   English

如何在 Azure API 管理中指定用户分配的托管标识

[英]How do I specify a user-assigned managed identity in Azure API Management

Setting a system-assigned managed identity in Azure API management is easy - just flip the toggle in the blade, or use the following code snippet in your ARM template在 Azure API 管理中设置系统分配的托管标识很简单 - 只需翻转刀片中的开关,或在 ARM 模板中使用以下代码片段

"identity" : {
    "type" : "SystemAssigned"
}

However, I have several instances of API management, and I want them all to use the same identity, for which the normal Azure solution is a user-assigned MSI.但是,我有多个 API 管理实例,我希望它们都使用相同的身份,而普通的 Azure 解决方案是用户分配的 MSI。

However, I can't find anything that suggests how to add a reference to a user-assigned MSI to my Azure APIM instance or to set it up in the portal.但是,我找不到任何建议如何向我的 Azure APIM 实例添加对用户分配的 MSI 的引用或在门户中设置它的任何内容。

This is currently in Preview.这是目前在预览中。 Here is the link to the official documentation:这是官方文档的链接:

Services that support managed identities for Azure resources 支持 Azure 资源的托管标识的服务

User Assigned Managed Identity for API management is not yet supported尚不支持用于 API 管理的用户分配托管标识

在此处输入图片说明

If you want to read more or check supported service feel free to check my article on Managed Identities https://marczak.io/posts/2019/07/securing-websites-with-msi/如果您想阅读更多内容或查看支持的服务,请随时查看我关于托管身份的文章https://marczak.io/posts/2019/07/securing-websites-with-msi/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 具有用户分配的托管标识的 Azure 应用服务使应用程序崩溃 - Azure App Service with User-Assigned Managed Identity crashes application 使用用户分配的托管标识访问 Azure AD B2C 和 MS Graph API - Access Azure AD B2C with MS Graph API using User-Assigned Managed Identity "如何使用用户分配的托管标识访问 Azure 中 Function App Config 的 Key Vault" - How to use user-assigned managed identity to access Key Vault for Function App Config in Azure 我可以在 Azure 逻辑应用程序中分配用户分配的身份吗? - Can I assign a user-assigned identity in Azure Logic Apps? 我们可以使用独立的用户分配的托管标识获取 Azure 资源的访问令牌吗? - Can we obtain an access token for an Azure resource using a standalone user-assigned managed identity? 带有托管标识(用户分配)的 Azure SQL 无法用于 AAD - Azure SQL with Managed Identity (user-assigned) failed to use against AAD azure azure sql 的用户分配标识失败 - azure user-assigned identity for azure sql fails Azure Function w/ User-Assigned Managed Identity 从 Key Vault 检索机密在本地工作,但在 Azure 门户中失败 - Azure Function w/ User-Assigned Managed Identity retrieves secrets from Key Vault works locally but fails in Azure Portal Azure Webapp Keyvault 引用,带有用户分配的暂存槽标识 - Azure Webapp Keyvault reference with user-assigned identity for staging slot Azure 具有用户分配身份的应用服务:在应用中检索 clientId? - Azure App Service with User-assigned identity: retrieve clientId in the app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM