# Encrypt / secure Database password in logstash.conf file

**URL:** <https://discuss.elastic.co/t/encrypt-secure-database-password-in-logstash-conf-file/210137>\
**Category:** Logstash\
**Tags:** elastic-stack-security\
**Created:** [December 2, 2019, 8:30am UTC](https://discuss.elastic.co/t/encrypt-secure-database-password-in-logstash-conf-file/210137 "2019-12-02T08:30:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [December 2, 2019, 8:40am UTC](https://discuss.elastic.co/t/encrypt-secure-database-password-in-logstash-conf-file/210137/2 "2019-12-02T08:40:28Z")

</div>

hi,

Yes, we explain how to do this in [https://www.elastic.co/guide/en/logstash/current/keystore.html](https://www.elastic.co/guide/en/logstash/current/keystore.html)

---

_[View the full topic](https://discuss.elastic.co/t/encrypt-secure-database-password-in-logstash-conf-file/210137)._
