# Logstash jdbc plugin password

**URL:** <https://discuss.elastic.co/t/logstash-jdbc-plugin-password/66448>\
**Category:** Logstash\
**Created:** [November 17, 2016, 7:18pm UTC](https://discuss.elastic.co/t/logstash-jdbc-plugin-password/66448 "2016-11-17T19:18:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FrankC](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@FrankC](https://discuss.elastic.co/u/FrankC)\
**Post date:** [November 17, 2016, 7:18pm UTC](https://discuss.elastic.co/t/logstash-jdbc-plugin-password/66448/1 "2016-11-17T19:18:43Z")

</div>

Hello,

I am fairly new to logstash and plan to use the jdbc plugin to connect to oracle.

Maybe I missed something, but I do not want to store the db password in the config file. What are the best options to provide the password to logstash in a secure way?

Any help is much appreciated.

Thanks,  
Frank

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 17, 2016, 9:19pm UTC](https://discuss.elastic.co/t/logstash-jdbc-plugin-password/66448/2 "2016-11-17T21:19:14Z")

</div>

I'm not sure there is a really good way of doing this. Do you have anything in mind that doesn't require password storage? SSL certificates? Kerberos? SSH?

---

<div class="post-metadata">

**Author:** ![FrankC](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@FrankC](https://discuss.elastic.co/u/FrankC)\
**Post date:** [November 21, 2016, 10:40pm UTC](https://discuss.elastic.co/t/logstash-jdbc-plugin-password/66448/3 "2016-11-21T22:40:26Z")

</div>

Ok. thanks. I will look into it some more.

Regards,  
Frank

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 19, 2016, 10:40pm UTC](https://discuss.elastic.co/t/logstash-jdbc-plugin-password/66448/4 "2016-12-19T22:40:27Z")

</div>

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