I am using hybrid deployment. I would like to inject a header for a specific path in my API. So I’m trying to add an endpoint in my API with Modify Headers plugin for my path.
What I really want is to set the value of the header to the policy name used for the developer consuming the API.
For example, if we have 2 developers as follows:
- Developer1 with an API key generated based on Policy1
- Developer2 with an API key generated based on Policy2
I would like to inject a header lets say (AccessPolicy) with value Policy1 when I get a request from Developer1 and Policy2 when I get request from Developer2.
Is it possible to achieve this in tyk?