in reply to How can a script use a password without making the password visible?
If you enter the password on the command line, you can set the terminal option NOECHO so you don't see what you type.
You can also delete the memory where the password was stored.