I have a app that has two attributes assigned. I have the developer calling a route with an API KEY...I want to be able to get the attributes associated with the corresponding app
Any ideas
Hi @Peter Ladis, fetching attributes using Apikey is doable.
At the proxy level,
After the API-Key policy is executed, it also creates a lot of variables, in trace you will get attributes as,
verifyapikey.{your verify apikey policy name}.{name of the custom attribute}
Point to note - the above variable will populate only if the VerifyApiKey policy succeeds.
So the internal route that is doing all the work.....is this information passed in the body or headers
verifyapikey.{your verify apikey policy name}.{name of the custom attribute}
This is available in the proxy flow after API KEY Policy execution. We need to use AssignMessage policy to set/pass/add this in body/header etc.,
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |