Access OS X keychain from Terminal
At everyday scripting, you often need to access sensible information like passwords. A common practice is to just write them plain text into your script, but at least on a Mac, we can do better. OS X ships with a tool called keychain. It is a central database where tools can store sensitive information like [...]