# managing jndi credentials for tomcat server.xml

**URL:** <https://forum.ansible.com/t/managing-jndi-credentials-for-tomcat-server-xml/12436>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [February 28, 2013, 10:23pm UTC](https://forum.ansible.com/t/managing-jndi-credentials-for-tomcat-server-xml/12436 "2013-02-28T22:23:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [February 28, 2013, 10:23pm UTC](https://forum.ansible.com/t/managing-jndi-credentials-for-tomcat-server-xml/12436/1 "2013-02-28T22:23:26Z")

</div>

> I don't like the idea of having the db credential files in our subversion  
> repository.
> 
> Is there a better way of storing/managing the db credentials?

One popular way to do it -- If you include it via "vars\_files", you  
can keep your passwords in a different file outside of the tree.

You can either path this relatively or absolutely.

Some people keep more restricted access repos for this.
