Forum Discussion

kumars12's avatar
kumars12
Occasional Contributor
8 years ago

Encrypt external global properties file in Ready! API

In my project, we store DB passwords in an external Global Properties file and the project is there in git. We use jenkins to execute the builds.

In external global properties file, the password is stored in plain text format. I somehow want to encrypt the file or use any other means to secure it. And I should be able to use that password in scripts to access backend db.

How do I go about it ? What are the ways?

 

Thanks

 

2 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Kumars12,

     

     

    As far as I know Ready! API doesn't provide a built-in feature for this. However, you can create a script that will use any Java encrypted libraries.

    • kumars12's avatar
      kumars12
      Occasional Contributor

      Yes thanks Tanya, I am using AES 128 bit encryption algorithm using an external jar file that I created.