How to configure MTLS for mysqld_exporter?

I am trying to configure mysqld exporter to connect to mysql DB using MTLS.
Not able to get the correct format to use in mysqld_exporter.yml file below.
If anyone has any idea on how to please share.

–web.auth-file=mysqld_exporter.yml

Hello Hussain_Patel,

Could you please share what you have as part of the mysqld_exporter.yml file?
I assume that you were using exporter-toolkit/docs/web-config.yml at master · prometheus/exporter-toolkit · GitHub as a reference.
Also, a command that you are using to add mysql_exporter with an error can help us troubleshoot.

Regards,
Denis Subbota.
Managed Services, Percona.