[英]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.