pavlenkodev opened a new issue, #10518: URL: https://github.com/apache/apisix/issues/10518
### Description At the moment, I get the `apiKey `value (which I would like to use in key-auth consumer) from the jwt token using the serverless-plugin which is used globally and register it as a variable. I have the proxy-rewrite plugin configured globally, it adds to each request the `apiKey` header required for key-auth from my consumer. Unfortunately or fortunately - it doesn't work. I use one of the jwt token parameters as the `apikey ` value. I would like not to send the `apiKey `as the request header every time, but to substitute it from a registered variable. My question may be strange, but I came up with such an implementation, maybe there are other options? Is it possible to implement my option at all? If my implementation is not possible, is there any way to apply plugins to a group of routes? Not globally, but only for a part of the routes ### Environment - APISIX version 3.5: - etcd version 3.4.15 - APISIX Dashboard version 3.01 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
