You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/18 18:03:29 UTC

[GitHub] [apisix] hozaifaaoud opened a new issue #5275: request help: group of keys specific for only one route or upstream

hozaifaaoud opened a new issue #5275:
URL: https://github.com/apache/apisix/issues/5275


   ### Issue description
   
   Hi,
   Currently, I am using APISIX and use key-auth for authentication.
   
   I have more than 20 routes and also 2 services.
   
   I need to make one of the routes accessible only by a specific group of keys.
   
   How can I do this?
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`): apisix-2.5  
   - OS (cmd: `uname -a`): #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): nginx version: nginx/1.14.0 (Ubuntu)
   built with OpenSSL 1.1.1  11 Sep 2018
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): "etcd_version":"3.4.0",
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):  3.4.0
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #5275: request help: group of keys specific for only one route or upstream

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #5275:
URL: https://github.com/apache/apisix/issues/5275#issuecomment-946297941


   1. enable or disable the key-auth plugin on route to control whether auth is required.
   2. route and key are 1 to 1, I'm not sure if it's possible to have one route for multiple keys (a set of keys)


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org