簡體   English   中英

blob 觸發器 azure function 調用 rest Z8A5DA52ED126447D359E70C057

[英]blob trigger azure function invoke a rest api

嗨我有這種情況:

User Upload a file to a blob storage account -> Azure function picks it up -> Call a rest api to perform some actions with the date inside the excel.

The azure function has a system assigned identity and both, the rest api and the function, resides inside the same resource group. rest api 是使用 Azure 應用服務構建的。 I'm not sure on how to authenticate the Function app to call the REST api, is there any example on how should I proceed with authentication between Function App and REST api using Azure AD or system managed identity?

是否有另一種方法可以實現我沒有看到的這種情況?

當您使用應用服務時,您可以參考此鏈接以了解如何使用應用服務身份驗證/授權模塊和 Azure Active Directory (Azure AD) 保護您的 web 應用。

您可以通過使用 Z3A580F1422036767F53F0 身份驗證提供程序 Z3A580F142036767F53F0 提供 Function 應用程序和 Rest API 繼續在 Function 應用程序和 API 之間進行身份驗證。 您可以選擇自動創建新的應用注冊或使用已注冊的注冊。 鏈接顯示如何設置 Azure 應用服務或 Azure 函數身份驗證,以便您的應用使用 Microsoft 標識平台作為身份驗證提供程序。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM