Metricbeat encrypt passwords in configuration file

I'm using the new sql module in version 7.6 and I need to assign the username and the password of the db in the yaml config in the hosts key(src).

If someone will read the yaml file or get it from anybody it means that our credentials are exposed. Is there any way to put an encrypted password there ? or load the password externally into the yaml configuration with a script or something ?

Hello @mctj

Does the Metricbeat keystore fit your needs?

1 Like

Yes , thank you !

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.