LastPass CLI Cheatsheet

Login

To get started, you have to login:

lpass login <your email address>

Look for passwords matching a string

lpass show stringtomatch

Get a password

This will grab a password from LastPass via the cli.

lpass show folder_name/name_of_password | grep -i password | awk -F ': ' '{print $2}'