tldr/pages/common/lpass.md

24 lines
530 B
Markdown
Raw Normal View History

2017-12-20 03:16:39 +00:00
# lpass
> Command line interface for the LastPass password manager.
- Login to your LastPass account, by entering your master password when prompted:
`lpass login {{username}}`
- Show login status:
`lpass status`
- List all sites grouped by category:
`lpass ls`
- Generate a new password for "gmail.com" with identifier "myinbox" and add to LastPass:
`lpass generate --username {{username}} --url {{gmail.com}} {{myinbox}} {{password_length}}`
- Show password for a specified entry:
`lpass show {{myinbox}} --password`