2017-12-20 03:16:39 +00:00
|
|
|
# lpass
|
|
|
|
|
|
|
|
> Command line interface for the LastPass password manager.
|
2019-06-05 08:55:56 +01:00
|
|
|
> More information: <https://github.com/lastpass/lastpass-cli>.
|
2017-12-20 03:16:39 +00:00
|
|
|
|
2021-05-14 01:42:15 +01:00
|
|
|
- Log in to your LastPass account, by entering your master password when prompted:
|
2017-12-20 03:16:39 +00:00
|
|
|
|
|
|
|
`lpass login {{username}}`
|
|
|
|
|
|
|
|
- Show login status:
|
|
|
|
|
|
|
|
`lpass status`
|
|
|
|
|
|
|
|
- List all sites grouped by category:
|
|
|
|
|
|
|
|
`lpass ls`
|
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Generate a new password for gmail.com with the identifier `myinbox` and add to LastPass:
|
2017-12-20 03:16:39 +00:00
|
|
|
|
|
|
|
`lpass generate --username {{username}} --url {{gmail.com}} {{myinbox}} {{password_length}}`
|
|
|
|
|
|
|
|
- Show password for a specified entry:
|
|
|
|
|
|
|
|
`lpass show {{myinbox}} --password`
|