RTC Restful API: How to encrypt password ?
2 answers
Comments
Maybe I didn't explain it properly.
Currently, my password is 'harcoded' in the script, and many users have access to it. I was looking for something similar to how the JBE works, you provide a file with the encrypted password.
I though there was a way to send the password encrypted and the the RTC server decode it properly.
The thing is if users have access to read/execute the script (i.e by login to the machine that stores the script), they will also have access to any methodolody you embed into the logic of encoding/decoding the credentials.
We have the same need. Just posted my own question before seeing this one. It seems like a valid need, to manage authentication credentials securely, regardless of whether we're using REST directly, or through the CLI. The scm CLI implements the needed functionality, it's just that some of us would like to use it for our own tools and utilities.