I think that decrypt encrypted password after encrypted password is loaded into exporter is a possible way , it would enventually look like below:
Assume I have a password 123 , after encryption , it may be a random number "S@)&SALVYALW.....". I then write this random number into configuration file. When started , before make the MySQL connection , exporter will decrypt this random number after it is loaded. After decryption process , exporter will have a correct password to make the MySQL connection. -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/6a21b928-89a2-46bb-a651-b9f20ea3a9b3n%40googlegroups.com.

