liyuntao / kong-init

Declarative configuration tool for Kong
Apache License 2.0
38 stars 8 forks source link

Hide secrets or sensitive data from output logs #16

Open tomasfse opened 5 years ago

tomasfse commented 5 years ago

Hello,

I think would be great hide secrets or sensitive data like tokens/apikeys/jwt... etc in all output logs kong-init generates.

For example, when a "Duplicate entry" SQL error is triggered for a key-auth, the apikey is shown in the error log.