It would be a nice feature to get "all" the items from a LastPass lookup, similar to lpass show --json UNIQUENAME. It could return the entire secret as JSON, then the caller could break out the fields as required.
Currently, in order to retrieve multiple fields from the secret, multiple calls to the lookup plugin are required. Although the overhead involved is probably low, the amount of Ansible code to do so is significant.
Summary
It would be a nice feature to get "all" the items from a LastPass lookup, similar to
lpass show --json UNIQUENAME
. It could return the entire secret as JSON, then the caller could break out the fields as required.Currently, in order to retrieve multiple fields from the secret, multiple calls to the lookup plugin are required. Although the overhead involved is probably low, the amount of Ansible code to do so is significant.
Issue Type
Feature Idea
Component Name
lastpass
Additional Information
No change
Code of Conduct