【发布时间】:2023-02-03 02:56:12
【问题描述】:
我在我的 API 管理中将 MSI 配置为表存储:
然后,在 inboud 策略中,我将模拟 url 设置为表存储:
<inbound>
<base />
<set-backend-service base-url="https://<storage>.table.core.windows.net/<table>()?$top=10" />
<authentication-managed-identity resource="https://storage.azure.com/" />
</inbound>
我看到,该令牌已正确获取:
我收到 403 回复如下:
{
"response": {
"status": {
"code": 403,
"reason": "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature."
},
我的问题是,如何使用managed identity从Api Management调用table存储?
【问题讨论】:
标签: azure azure-storage azure-api-management azure-managed-identity