azure - 使用 Azure Functions 和存储帐户的托管身份

标签 azure azure-functions azure-storage azure-managed-identity

如果函数主机需要 AzureWebJobsStorage 应用设置,将托管标识与 Azure Functions 和存储帐户结合使用的适当方法是什么?是否有不包含访问 key 的存储帐户连接字符串的托管标识版本?

最佳答案

虽然您无法使用托管标识直接对存储帐户进行身份验证,但您可以将访问 key 存储在 Key Vault 中并使用 Key Vault References 从那里获取它。使用托管身份。

只是想分享这一点,因为我相信使用 KeyVault 引用而不是直接在应用设置中使用访问 key 非常好。

关于azure - 使用 Azure Functions 和存储帐户的托管身份,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58719611/

相关文章:

.net - 如何创建可部署到 Azure 的 ZIP 包

azure - DocumentDB OfferThroughput 应该在代码中设置吗?

azure - 返回 400 "Resource not found for the segment ' 联系人的组的图表 Delta API。”

azure - 从 Azure DevOps 发布管道部署时出现空函数应用程序

c# - 我的消息会被两次添加到队列中吗?

azure - 防止 Azure 中的 Blob 出现 'Change Tier'

c# - CloudQueueMessage - 重试机制

performance - 各种范围查询对 Azure 表存储性能目标有何影响?

swagger - Azure Functions 和 Swagger UI - 如何在 swagger UI 中显示查询字符串参数?

azure - 在 docker-compose 中挂载 azure 存储帐户