LastPass users who typically interact with their vault via a browser plugin may be surprised to learn
of an official command line utility called
lpass that provides access to secure items (including notes).
See the man page for subcommands and details.
Saving secure notes from the command line is particularly useful for software projects that utilize configuration files that contain sensitive information that should not be tracked in version control but should be securely backed up and easily restored.
LastPass secure notes are versioned and can be securely shared. Using LastPass shifts the responsibility of managing the secured data to a team of professionals who perform regular security audits and if you’re not sold yet, basic accounts are free.