Using lastpass from CLI or script
better than keeping files around
- tags
- cli
- lastpass
Contents
Using a password manager is great (though a troubling central point of failure). We can use command line tools to get the password from them rather than storing them in files which is much cleaner.
lpass
and login
On OSX:
|
|
or Debian:
|
|
Checking to see if you are logged in
|
|
Using it in a script
|
|
Or if you want to pull stuff using ruby:
|
|
References
Previously
Next