NamedValue is not accessible in APIM

Sukhmeet Bhatia 0 Reputation points
2024-09-20T16:50:06.3033333+00:00

Named Values is not accessible in policy. I am trying to access Named values Test-namedValues in

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,453 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dan Rios 2,020 Reputation points MVP
    2024-09-23T15:04:09.9066667+00:00

    Your question seems incomplete. However, to access a namedValue within an APIM policy you refer to it like:

    <some-xml>{{Test-namedValues}}</some-xml>

    Where {{Test-namedValues}} is the name of the namedValue which has it's own value assigned to it, or via Key Vault.

    You can read more here: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-properties?tabs=azure-portal

    Please mark this as accepted, if this helped solved your issue.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.