I have a script that is making a REST call to another platform(ServiceNow). Currently I'm just using basic authentication in my script which is fine but the username and password are being stored in plain text in the script.
I would like to have the password encrypted somehow but don't really know how to go about it.
Any help would be great!
I think you could save the username and the password in a file somewhere in the server where your Jira instance is installed and read the file during your script execution. It would let you not to save password in your script which is not good considering that the script must be saved in a version control system.
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
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