I need to place an encrypted password in the property file. I have a shell script which reads a password from a property file, decrypt it and use in the shell script. How to decrypt the password inside the shell script securely? My concern is others should not be able to decrypted the password by viewing the shell script
EDIT: It is an automated process. User will not input any password. To be more clear, my script needs to authenticate a service with user and password. I cannot put plain password in the property file. That should be encrypted and i need to decrypt it in the shell script before authentication process.