|
| http[].authentication.keyAuth.header | string | Header to get the key from. | |
Hello APISIX Team.
Currently I Have enabled the API Key based authentication using keyAuth in apisix for my apisixroute. In this
authentication:
enable: true
type: keyAuth
keyAuth:
header: "Authorization"
curl -H "Authorization: <api-key>" http://0.0.0.0/api
In the above the authentication happens from "Authorization" header with APIKEY as value. But I wanted add "Bearer "
Could you please help how to add it so that my authentication will look like as below
curl -H "Authorization: Bearer <api-key>" http://0.0.0.0/api