community.general
community.general copied to clipboard
Add support for login and url metadata to passwordstore
SUMMARY
The pass
password manager (https://www.passwordstore.org/) supports having metadata after the passwords, for example indicating the username and url associated with the password. It would be nice if the passwordstore
lookup plugin would support setting those metadata fields when creating a new password.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
plugins/lookup/passwordstore.py
ADDITIONAL INFORMATION
The login
and url
metadata fields are used by browser extensions such as passff (https://github.com/passff/passff#multi-line-format) to log in. If the login
field is missing it becomes difficult, or in some cases impossible, to use the browser extension (e.g. with HTTP Basic auth).
Normally, both the login name and the url are known when the entry is created in an Ansible playbook, so if we can just get that into the metadata fields it will integrate nicely with browser extensions and other clients of the password store.
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.