lastpass / lastpass-cli

LastPass command line interface tool
GNU General Public License v2.0
2.85k stars 292 forks source link

Add support for Lastpass identities #373

Open simplytech opened 6 years ago

simplytech commented 6 years ago

I didn't find a way to create or switch identities, so I'm assuming it's not implemented yet.

waterkip commented 6 years ago

Hi,

I think you want to play with LPASS_HOME, it defaults to $HOME/.lpass and you can change that up to $HOME/.lpass-whatever and use it to login, eg:

LPASS_HOME=$HOME/.lpass-foo lpass login foo@example.com
LPASS_HOME=$HOME/.lpass-bar lpass login bar@example.com

I use a small wrapper for both work and personal lpass logins, I can be logged in with both at the same time.

jaredm4 commented 6 years ago

@waterkip Lastpass Identities is not the same thing as multiple unique logins.

Identities have been in Lastpass for a long time and are a way to segregate your credentials. I have Work and Personal Identity, but they both live under the same Lastpass user account and login. More info

I was really hoping there was identities support in the cli but I'm not seeing it either.