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 03:12:32 UTC

[GitHub] [apisix] SireHan opened a new issue #5258: request help:

SireHan opened a new issue #5258:
URL: https://github.com/apache/apisix/issues/5258


   ### Issue description
   
   十分抱歉,英文不好,用中文书写问题:
   我想针对不同的路由有不同的key-auth,但是key-auth 配合的consumers 和路由是自动匹配的。
   比如路由A 的 key=123,路由B 的key=456
   路由B 使用key=123 现在是不是也可以访问通过,我想只允许路由B使用key=456才能访问通过
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - 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`):
   


-- 
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] nic-6443 commented on issue #5258: request help: Authentication 插件的使用问题

Posted by GitBox <gi...@apache.org>.
nic-6443 commented on issue #5258:
URL: https://github.com/apache/apisix/issues/5258#issuecomment-945403213


   You can use the whitelist configuration in the consumer-restriction plugin to achieve your needs. [docs](https://apisix.apache.org/docs/apisix/plugins/consumer-restriction)


-- 
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] SireHan commented on issue #5258: request help: Authentication 插件的使用问题

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


   thanks


-- 
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] SireHan closed issue #5258: request help: Authentication 插件的使用问题

Posted by GitBox <gi...@apache.org>.
SireHan closed issue #5258:
URL: https://github.com/apache/apisix/issues/5258


   


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