lastpass / lastpass-cli

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

Question: what is the "id" for the `-i` flag in the lpass-att-export.sh script? #645

Closed sethgoldin closed 1 year ago

sethgoldin commented 1 year ago

Hey there, trying to understand how to properly execute the lpass-att-export.sh script, but I'm not understand what the "id" is referring to for the -i flag. Is that the numerical account ID of the LastPass account, or a particular entry? Is it something else? How do I locate the "id?"

0xdevalias commented 1 year ago

It's the id of a lastpass entry, it's used in the script as: lpass show ${id}

You can see the code here:

https://github.com/lastpass/lastpass-cli/blob/a5b93b9015e1524f557e3eb4fdf688a407d41c73/contrib/lpass-att-export.sh#L49-L56

sethgoldin commented 1 year ago

Perfect, thank you!