ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
822 stars 1.52k forks source link

bitwarden (lookup): add authentication methods (optional) #8693

Open cwchristerw opened 3 months ago

cwchristerw commented 3 months ago

Summary

Add authentication methods to Bitwarden lookup. It would improve usability to add authentication parameters to this.

Methods

email and password Parameters: username (alias email), password

two-step verification (optional) with email and password Parameters: method, code

method: authenticator - 0 email - 1 yubikey - 3

apikey Parameters: client_id, client_secret

SSO Method would probably not possible to make easy enough. In addition it would nice to have a way to configure bitwarden address. This improvement would possibly remove these requirements be logged into bitwarden, bitwarden vault unlocked and BW_SESSION environment variable set

Documentation https://bitwarden.com/help/cli/#log-in

Issue Type

Feature Idea

Component Name

bitwarden

Additional Information

Code of Conduct

ansibullbot commented 3 months ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 3 months ago

cc @lungj click here for bot help