Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
user3939382
· 5y ago · 0 comments
I use a LastPass CLI client that I can pass in to other scripts or bash functions like my frequently used SSH invocations. Works great.
Edit: Here’s a link
https://github.com/lastpass/lastpass-cli
Comments
[–]
user3939382
OP
5y ago
You can also use the macOS Keychain directly from the command line. This isn't the guide I originally used but gives you an idea:
https://www.netmeister.org/blog/keychain-passwords.html
[–]
raizinho
5y ago
Could you post a link to the client?