whodb icon indicating copy to clipboard operation
whodb copied to clipboard

[FR] SSL options in ENV variable

Open raymond-xu-gtg opened this issue 1 year ago • 1 comments

Can we add support in the WHODB_MYSQL environment variable for

  • SSL mode
  • SSL CA cert
  • SSL client cert
  • SSL client key in order to use SSL enabled connection? This is required for Google Cloud IAM Authentication.

Ref. https://cloud.google.com/sql/docs/mysql/iam-authentication#compare-db-auth-options

Example:

[{"host": "10.1.2.3", "user", "ray.xu", "ssl-mode": "REQUIRED", "ssl-ca": "/tmp/ca.pem", ...}]

raymond-xu-gtg avatar Oct 03 '24 05:10 raymond-xu-gtg

Thank you for issues! We are testing changes on this PR: https://github.com/clidey/whodb/pull/196.

We are setting up the IAM authentication for an instance Google Cloud to test. Getting back on this thread!

hkdeman avatar Oct 04 '24 10:10 hkdeman

Closing this in favor of larger SSL issue tracking: https://github.com/clidey/whodb/issues/669

modelorona avatar Oct 31 '25 14:10 modelorona