Key-auth plugin: Possibility to name keys


#1

Hello,

We are using the key-auth plugin and are creating multiple keys per consumer.
One consumer corresponds to one of our client (company) and we create a key for each user in this company.

In our logs system (which fetches json logs from Kong), in each query we can see the consumer name and the key ID. But if we want to find which user is behind the key we have to query Kong.

It would be great to be able to associate a name to each key and having this name in access log like the consumer name.

Or is there a better way for that?

Thanks,

Cyril.