It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Encrypting DB credentials in conf/server.xml file when creating a data source


I used this tutorial to create a data source which I can connect to from any plugins I create. I've tested the connection and everything is working fine.


My concern is regarding the safety of having my db username and passwords in plain text on my server. Is there any way I can encrypt that information in the server.xml file? If not, are there safer/more secure alternatives I can use?


1 answer

1 accepted

1 vote
Answer accepted

Hello Ibrahiem,

We have a feature request below to support encryption of any passwords stored on the filesystem:

While a legitimate security concern, someone wouldn't be able to gain access to the server.xml file without first breaking into the file system. For this reason, you want to make sure your internal security team has protected your internal server sufficiently. Make sure that all passwords are secure, and if needed, place your server behind an internal firewall.

Please vote on the above feature request in order to show your support for such a feature, and comment with your findings and your usage case.

Take care, and do let me know if you have any further questions or concerns.



Thanks Shannon, will look into this

Like Shannon Spaniol likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

609 views 4 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you