Encrypt the password in logstash elasticsearch output

Is there a way to encrypt the password in logstash elasticsearch output?

output {
elasticsearch {
...
user => logstash_internal
password => changeme
}
}

Hey,

right now there isnt, see this logstash issue: https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/143

You could maybe prevent using passwords altogether by using client side certificates, so only systems that do have the right certs are allowed to connect to your secured Elasticsearch cluster.

--Alex