Not able to transform 'x-Gateway-APIKey' as header in request to other variable.

I am applying API key validation policy and I need to replace the x-Gateway-APIKey header variable with runtime ‘authkey’ variable using request transformation policy.

For eg:

if header value is : ‘x-Gateway-APIKey= xyz’ , then to native service header should be pass as ‘authkey=xyz’ value as query param.

Hi Ajay Gupta,

Currently getting API-key from request transformation policy is not supported. We will fix this in upcoming fixes in few versions. Can you please confirm which API Gateway version and fix you are using?

Regards,
Vallab.