1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
jantari 5365647ee7
New lookup plug-in: Bitwarden Secrets Manager (#6389)
* add Bitwarden Secrets Manager lookup

* fix pep8 and yamllint complaints

* fix version_added, add maintainer and copyright notice

* document BWS_ACCESS_TOKEN env var and declare as required

* avoid returning nested list

* update 'value of a secret' example after f6c4492c

* update copyright notice in bitwarden_secrets_manager plugin

thx felixfontein

Co-authored-by: Felix Fontein <felix@fontein.de>

* rename classes to distinguish from existing bw plugin

* use AnsibleLookupError, formatting

* bump version_added to 7.0.0

Co-authored-by: Felix Fontein <felix@fontein.de>

* ci fix: python style guide calls for excessive blank lines

https://peps.python.org/pep-0008/#blank-lines

* first attempt at unit tests for bws lookup

* ci fix: remove trailing newline

* attempt to fix tests object not callable error

* address formatting, tests and pyright suggestions

* reduce scope of mocked code for more real test coverage

only the actual bws CLI call is mocked now, this should enable the
exception thrown test to succeed if I didn't add new problems

* fix undefined variable 'expected_rc'

* fix mocked _run method to return correct data types

* keep list of one element for test case comparison

* bump version_added to 7.2.0

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: jantari <jantari@github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-07-08 10:11:02 +02:00
..
action Shutdown systemd without sysv (#6171) 2023-05-09 20:10:09 +02:00
become Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
cache Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
callback Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
connection Add 'inventory_hostname' to the jail plugin documentation (#6118) 2023-03-03 22:56:24 +01:00
doc_fragments proxmox module utils: better error msg when token fails with old proxmoxer (#6839) 2023-07-03 22:07:05 +02:00
filter Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
inventory plugins/inventory/cobbler: Collect IP addresses for hosts and add opt… (#6711) 2023-06-19 06:53:46 +02:00
lookup New lookup plug-in: Bitwarden Secrets Manager (#6389) 2023-07-08 10:11:02 +02:00
module_utils Add redfish processor architecture to Redfish CPU inventory (#6864) 2023-07-07 22:30:03 +02:00
modules snap: add track 'latest' if no track is specified (#6835) 2023-07-08 10:10:32 +02:00
test Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00