vivekrsintc opened a new issue, #2345:
URL: https://github.com/apache/apisix-ingress-controller/issues/2345

   
https://github.com/apache/apisix-ingress-controller/blob/4b089a3e06af9dd451628c2e41d9ae537101f9ce/docs/en/latest/references/apisix_route_v2.md?plain=1#L76
   
   Hello APISIX Team. 
   
   Currently I Have enabled the API Key based authentication using keyAuth in 
apisix for my apisixroute. In this 
   ```sh
       authentication:
           enable: true
           type: keyAuth        
           keyAuth:
             header: "Authorization"      
     ```
             
   ```sh
   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
             
   ```sh
   curl  -H "Authorization: Bearer <api-key>" http://0.0.0.0/api
   ```
   
             


-- 
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]

Reply via email to