How I Reverse Engineered the LastPass CLI Tool
A couple days ago I was writing an install script for my dotfiles and reached a point where I wanted to grab some secrets (my SSH keys) from my LastPass vault and copy them to the file system.
This is easy enough to do using the browser plugin, or even when working with their command line tool (lpass) in an interactive way, but I found there was no way to ask lpass which files are attached to a secret, and get the output in a machine readable format.
Michael-F-Bryan