[英]Azure ApiM unable to create jwt token validation policy with RSA certificate
根據 Azure API Management 中的文檔,可以使用之前上傳到 APIM 的 RSA 證書的證書 ID 創建 JWT 令牌驗證策略。
我正在嘗試構建文檔中描述的此類策略,並且保存時沒有錯誤,但是當我再次打開策略定義時,關鍵元素始終為空,沒有我之前設置的證書 ID 屬性。
我也可以在我這邊重現您的問題,配置並返回后,策略將如下所示。
It looks should be a bug in UI, because if you get the policy with PowerShell Get-AzApiManagementPolicy
or REST API - Api Policy - Get
directly, we can get the value. 所以我認為應該應用該策略,只需忽略它並打開 go。
Powershell:
$ApiMgmtContext = New-AzApiManagementContext -ResourceGroupName "groupname" -ServiceName "joyapim"
Get-AzApiManagementPolicy -Context $ApiMgmtContext -ApiId 'echo-api'
REST API:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.