Azure / api-management-policy-snippets

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

Error on trying to Save the inbound rule #44

Closed eugen-nw closed 4 years ago

eugen-nw commented 4 years ago

The error I'm seeing in the portal is just below.

One or more fields contain incorrect values: Error in element 'authentication-certificate' on line 62, column 10: The 'body' attribute is not declared.

Please see below the section in question: `

.... https://certificates-by-subject.vault.azure.net/secrets/cluster-certificate/?api-version=2016-10-01 GET ()["value"].ToString())" />

`

eugen-nw commented 4 years ago

The \<authentication-certificate> element is documented here and there is no mention of the body attribute: https://docs.microsoft.com/en-us/azure/api-management/api-management-authentication-policies#ClientCertificate

eugen-nw commented 4 years ago

This work now, I was able to set the body attribute on 2/28/2020.