chop-dbhi / prometheus-sql

Service that exposes Prometheus metrics for a SQL result set.
BSD 2-Clause "Simplified" License
202 stars 55 forks source link

Support for SSL Client Certificate and Key #153

Open danielbjornadal opened 1 year ago

danielbjornadal commented 1 year ago

Is it possible to add support for ssl client certificate and key?

Mysql command equalent:

mysql --host=YOUR_SERVER_IP --user=YOUR_USERNAME --password=YOUR_PASSWORD \
      --ssl-ca=/path/to/ca.pem \
      --ssl-cert=/path/to/client-cert.pem \
      --ssl-key=/path/to/client-key.pem