Azure / api-management-policy-snippets

Re-usable examples of Azure API Management policies
MIT License
341 stars 155 forks source link

Fix condition in the when policy #45

Closed PramodValavala-MSFT closed 4 years ago

PramodValavala-MSFT commented 4 years ago

The policy expression in the when policy should be checking for the response from the cache lookup and skip fetching the cert from key vault every time.

The current expression resolves to true always.