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 2022/08/09 09:40:54 UTC

[GitHub] [apisix] lee-x-zh opened a new issue, #7635: help request: Is there a way to constrain the key used for key-authing of a route to a specific one?

lee-x-zh opened a new issue, #7635:
URL: https://github.com/apache/apisix/issues/7635

   ### Description
   
   We use key-auth plugin to authenticate requests. we planed different keys(consumers) for different routes for access control usage. While we found with a arbitrary predefined key,  one can access all routes.
   So, Is there any way to leverage consumers' keys to do access control  via key-auth plugin?
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.14.1
   - Operating system (run `uname -a`): Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `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.apache.org

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


[GitHub] [apisix] tzssangglass commented on issue #7635: help request: Is there a way to constrain the key used for key-authing of a route to a specific one?

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

   what you need is: https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/consumer-restriction.md
   
   and we discussion about consumer group on: https://github.com/apache/apisix/issues/7488


-- 
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] lee-x-zh commented on issue #7635: help request: Is there a way to constrain the key used for key-authing of a route to a specific one?

Posted by GitBox <gi...@apache.org>.
lee-x-zh commented on issue #7635:
URL: https://github.com/apache/apisix/issues/7635#issuecomment-1211445239

   Indeed! That's the very solution to my problems. 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] lee-x-zh closed issue #7635: help request: Is there a way to constrain the key used for key-authing of a route to a specific one?

Posted by GitBox <gi...@apache.org>.
lee-x-zh closed issue #7635: help request: Is there a way to constrain the key used for key-authing of a route to a specific one?
URL: https://github.com/apache/apisix/issues/7635


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