I have a groovy script which executes a command line argument. The command contains a password. I do not want to store the password in plain text. I would like to have it stored in an encrypted form, ...
Do you face any issue? First encode your password and store it, when required decode it and then pass it where it is required and do not log so that plain password donot show up in log.