Skip to content

Instantly share code, notes, and snippets.

@rhoboro
Created August 26, 2015 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhoboro/b95e7dabb65c5c6b9b6f to your computer and use it in GitHub Desktop.
Save rhoboro/b95e7dabb65c5c6b9b6f to your computer and use it in GitHub Desktop.

How to use the keychain service

// Set a password
security add-generic-password -s shizuku -a rhoboro -p password

// Show the password
security find-generic-password -gs shizuku -w

// Delete the password
security delete-generic-password -s shizuku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment