# JDBC connect String Password Encryption

**URL:** <https://discuss.elastic.co/t/jdbc-connect-string-password-encryption/47892>\
**Category:** Logstash\
**Created:** [April 20, 2016, 10:05am UTC](https://discuss.elastic.co/t/jdbc-connect-string-password-encryption/47892 "2016-04-20T10:05:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daivenu](https://avatars.discourse-cdn.com/v4/letter/d/ed655f/32.png) [@daivenu](https://discuss.elastic.co/u/daivenu)\
**Post date:** [April 20, 2016, 10:05am UTC](https://discuss.elastic.co/t/jdbc-connect-string-password-encryption/47892/1 "2016-04-20T10:05:13Z")

</div>

i would like to know how to use encryp password in JDBC jdbcplugin.conf file

i need to encrypt the below jdbc\_password, since i cant use as clear text. please let me know if any other info required

input {  
jdbc {  
jdbc\_driver\_library =\> "/opt/ojdbc14.jar"  
jdbc\_driver\_class =\> "Java::oracle.jdbc.driver.OracleDriver"  
jdbc\_connection\_string =\> "jdbc:oracle:thin:@host:port:db"  
jdbc\_user =\> "DB\_user"  
jdbc\_password =\> "password"  
statement =\> "SELECT count(\*) from tab"  
}  
}

---

<div class="post-metadata">

**Author:** ![alaviamir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alaviamir/32/10167_2.png) [@alaviamir](https://discuss.elastic.co/u/alaviamir)\
**Post date:** [June 10, 2016, 7:19pm UTC](https://discuss.elastic.co/t/jdbc-connect-string-password-encryption/47892/2 "2016-06-10T19:19:35Z")

</div>

Have you been able to solve this?

Looks like in the last release (via GitHub), they've added a new property "jdbc\_password\_filepath"

---

<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:** [July 6, 2017, 4:53am UTC](https://discuss.elastic.co/t/jdbc-connect-string-password-encryption/47892/3 "2017-07-06T04:53:33Z")

</div>


