Created
December 31, 2012 11:00
-
-
Save leonbarrett/4419024 to your computer and use it in GitHub Desktop.
Method to get a password via the keychain on osx. In this instance test is the name of the keychain account
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| security 2>&1 >/dev/null find-generic-password -ga test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment