Skip to content

Instantly share code, notes, and snippets.

@leonbarrett
Created December 31, 2012 11:00
Show Gist options
  • Select an option

  • Save leonbarrett/4419024 to your computer and use it in GitHub Desktop.

Select an option

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
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