How to create, configure & read external configuration properties file in Custom build Jira Plugin?

Preethi H R December 20, 2021

Hi Team,

We are building a custom Jira plugin for which we need to create and fetch values from an external configuration properties file.

We need to create a properties file and store encrypted username and password. Then we need to fetch these values and decrypt them and use username and password in our Jira plugin code.

As password would be rotating periodically, we need to externalize this properties file.

Can anyone Please suggest how do we externalize and read values from the properties file in Jira plugin code?

 

Thanks & Regards,

Preethi H R

1 answer

0 votes
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 23, 2021

Hi @Preethi H R 

My suggestion would be to store those values in the Jira database.

Your app can get those external configurations and store them in the database. To encrypt/decrypt sensible data such as username and password you can use the Jasypt library

Suggest an answer

Log in or Sign up to answer