简体   繁体   English

使用托管服务标识从Data Factory调用Azure函数

[英]Call Azure Function from Data Factory using Managed Service Identity

I want my Data Factory's Web Activity to authenticate to my Azure Function using MSI (Managed Service Identity), so I don't have to include the API key in the Web-URL. 我希望我的Data Factory的Web活动使用MSI(托管服务身份)向我的Azure函数进行身份验证,因此我不必在Web-URL中包括API密钥。

What type of resource string do I need to enter here in the configuration section of the Web Activity: 我需要在“网络活动”的“配置”部分中输入什么类型的资源字符串:

对话

I tried: 我试过了:

but none worked. 但没有一个成功。 The pipeline activity times out after a few minutes with the error "Error calling the endpoint". 几分钟后,管道活动超时,并显示错误“调用端点错误”。

I had the same issue, but using https://management.azure.com/ as the resource string worked for me in terms of making MSI function, but after a bunch of testing it seems to me as though the HTTPTrigger still requires a key in either the URI or the header. 我遇到了同样的问题,但是使用https://management.azure.com/作为资源字符串对我来说起到了使MSI功能起作用的作用,但是经过一堆测试之后,我觉得好像HTTPTrigger仍然需要一个密钥在URI或标头中。

Both of these websites are good resources: 这两个网站都是不错的资源:

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

相关问题 使用带有 python 的托管标识创建 Azure 数据工厂链接服务 - creating Azure Data factory linked service using Managed identity with python 使用托管标识从 Azure 应用服务调用图 - Call Graph from Azure App Service using Managed Identity 使用托管标识将 Azure SQL 数据库链接到数据工厂 - Link Azure SQL Database to Data Factory using managed identity 使用托管标识从 Azure 数据工厂触发逻辑应用程序工作流 - Triggering Logic Apps Workflow from Azure Data Factory using Managed Identity 使用托管身份验证 REST API 调用 Azure 服务总线 - Authenticated REST API call to Azure Service Bus using Managed Identity 使用托管服务身份对Azure功能进行授权以从Azure存储容器中获取Blob - Authorization for Azure Function using Managed Service Identity to fetch blob from Azure Storage container 在 Azure function 服务总线触发器中使用用户管理标识不起作用 - Using User Managed Identity in Azure function Service Bus triggers not working 允许从托管服务身份到Azure功能的无密钥授权 - Allow Keyless Authorization from Managed Service Identity to Azure Function 使用托管标识从 Azure 逻辑应用到 Azure Function 进行身份验证 - Authenticate from Azure Logic app to Azure Function using Managed Identity 托管服务标识在 Azure 函数中未按预期工作 - Managed Service Identity not working as expected in Azure Function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM