Keychain Access From Shell
It OS X it is possible to access the Keychain from shell using security. This makes it possible to avoid having your passwords visible in shell commands that normally require a password in the command. See:Keychain Access From Shell
