Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kevwil
on June 27, 2023
|
parent
|
context
|
favorite
| on:
macOS command-line tools you might not know about
The `security` tool is handy too. I like the ability to store passwords in the `login` Keychain and automate using them in the terminal using `security find-generic-password`.
security find-generic-password -gw -l "${keychain_id}"
Super helpful for VPN automation scripts, easy logins to things like Vault, etc. The security tool has tons of other handy functions as well.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: