I have two different APIs under the same Azure API Management. Both of them can be called using a subscription key (they are also under the same product).
One of the APIs actually calls the other sometimes, so it is currently sending the subscription key too in the call.
Is there a way to configure the APIs or APIM so that they can call each other without requiring this key? A way the APIM can recognize the service and allow the call with any mechanism?
EDIT
I want to keep the need for a key when external services call these APIs. I just want to enable, if possible, a mechanism in which APIs under the same APIM do not need to use the subscription key to call each other, because somehow the APIM recognizes them.
Illustrating what I need:
If my APIM has two APIs A and B:
- If A calls B it does not need a subscription key
- If B calls A it does not need a subscription key
- If an external source X calls A or B it needs a subscription key or receives a 401 response