Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active November 28, 2024 23:39
Show Gist options
  • Save wilmoore/a84607b8074accfe0bb3143fc52bcef3 to your computer and use it in GitHub Desktop.
Save wilmoore/a84607b8074accfe0bb3143fc52bcef3 to your computer and use it in GitHub Desktop.
Software Engineering :: Operating Systems :: macOS :: Keychain Access :: security(1)

Software Engineering :: Operating Systems :: macOS :: Keychain Access :: security(1)

⪼ Made with 💜 by Polyglot.

related

security(1)

Command line interface to keychains and Security framework

» man security
add
» security add-generic-password -a $USER -s GIST_API_TOKEN -w "$(pbpaste)"
find by name and output contents
» security find-generic-password -s OPENAI_API_KEY -w
delete by name
» security delete-generic-password -s OPENAI_API_KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment