如何使用托管身份验证和 Blob 连接器?

How can you use Managed Identity authentication and the Blob connector?

如何使用托管身份验证和 Blob 连接器?

blob API 连接器似乎只有一个选项可以输入 SAS 密钥,不能使用托管身份。

我可以执行 "raw HTTP" 个请求,例如access-to-blob-storage-using-managed-identity-in-logic-apps,但随后我丢失了所有 Blob 操作,例如"List Blobs"。

那么有没有 Blob 操作的好功能,并使用托管身份?

So is there anyway to have the nice features of the Blob actions, and use Managed Identity?

我在我的网站上进行了测试,可以将 blob 操作与托管身份结合使用。您可以参考以下步骤进行操作。

1.Go 到您的逻辑应用 > Identity> 打开 System assigned 托管身份。

2.Go 到您的存储 > Access control > Add role assignment 并添加具有 Storage Blob Data Control 角色的逻辑应用,如下所示:

3.Then 您可以在逻辑中列出 blob app.Use 以下设计师:

输出如下: