1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/lpass.md
2021-05-14 01:42:15 +01:00

24 lines
597 B
Markdown

# lpass
> Command line interface for the LastPass password manager.
> More information: <https://github.com/lastpass/lastpass-cli>.
- Log in 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 the 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`