Secure way of setting username/password in logstash config file

Is there a more secure way of setting username/password of couchdb in logstash config file. Setting a plain password in config file wouldn't be a very likable option.

Thanks,
Imad.

I am still waiting for an alternate solution, will appreciate any help.

The only solution I've used is to replace placeholders in the config
after it has been update but before logstash runs it's configtest and it
restarts.

thanks for your response but once you have placed credentials in their placeholders and restart logstash they'll always be there right and that would again put risk of exposing credentials.

On Tue, 2015-09-01 at 13:55:44 +0000, imad wrote:

you guys atleast able to save password using jdbc_password_filepath?

i couldnt.. any thoughts?

Unknown setting 'jdbc_password_filepath' for jdbc {:level=>:error}

https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html#plugins-inputs-jdbc-jdbc_password_filepath