为什么我选择产品时订阅密钥有product=<name>?

问题描述 投票:0回答:1

我注意到在 APIM 测试选项卡中,当您从下拉列表中选择产品时,它有

<subscriptionKey>product=<productName>
表示
Ocp-Apim-Subscription-Key

为什么不将订阅密钥设置为该产品设置的任何密钥?

enter image description here

azure azure-api-management
1个回答
2
投票

测试控制台使用的是主密钥,如果您选择产品,该主密钥不会改变,因此它不使用产品订阅密钥,而是仅使用其名称,因此不会影响产品订阅的配额(如果您使用配额或速率限制政策)在测试时。

© www.soinside.com 2019 - 2024. All rights reserved.