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!