Kong / docs.konghq.com

🦍 Source code for docs.konghq.com website.
https://docs.konghq.com
MIT License
196 stars 595 forks source link

Missing KIC guide on Key Authentication with ACL per service or route #5324

Open mloskot opened 1 year ago

mloskot commented 1 year ago

Where is the problem?

https://docs.konghq.com/hub/kong-inc/key-auth/

What happened?

It would be good if there is a guide describing non-trivial case of configuration:

It requires combination of the Key Authentication plugin and ACL plugin. It would be useful if presented with declarative configuration.

Such configuration for Kong Ingress Controller is especially not trivial, because it requires

  1. Creation of 'conceptual/logical' ACL group via Kubernetes secret which is not very intuitive and not well documented, if at all, especially after deprecating kind: KongCredential
  2. API key stored in secret
  3. Consumer using the two secrets as credentials: one to authorise access to specific service/route and the other to authenticate consumer

What did you expect to happen?

Add a guide for Kong Ingress Controller with non-trivial authentication and authorisation scenarios.

Code of Conduct and Community Expectations

eschbach-dd commented 1 year ago

I'm also interested in this