Created
September 7, 2021 14:48
-
-
Save leveled/545d25ab83479dc65e903b3169886fb6 to your computer and use it in GitHub Desktop.
Adding a password to the keychain and retrieving it (macOS)
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 add-generic-password -s "xxx.com" -a "[email protected]" -w 'xxx' | |
| security find-generic-password -w -s 'xxx.com' -a '[email protected]' | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment