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/lookup
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
..
bitwarden.py Semantic markup: use E() in more places (#6699) 2023-06-15 09:29:30 +02:00
bitwarden_secrets_manager.py New lookup plug-in: Bitwarden Secrets Manager (#6389) 2023-07-08 10:11:02 +02:00
cartesian.py stop passing loader/dataloader since it has been deprecated by ansible (#6074) 2023-02-25 15:29:27 +01:00
chef_databag.py
collection_version.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
consul_kv.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
credstash.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
cyberarkpassword.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
dependent.py Use semantic markup (modules a-c) (#6671) 2023-06-15 15:46:33 +02:00
dig.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
dnstxt.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
dsv.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
etcd.py Improve seealso (#6766) 2023-06-22 13:16:22 +02:00
etcd3.py Improve seealso (#6766) 2023-06-22 13:16:22 +02:00
filetree.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
flattened.py Use semantic markup (modules a-c) (#6671) 2023-06-15 15:46:33 +02:00
hiera.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
keyring.py Lookups: use Ansible's config manager whenever possible (#5440) 2022-11-01 21:58:46 +01:00
lastpass.py
lmdb_kv.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
manifold.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
merge_variables.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
onepassword.py Onepassword lookup add service accounts (#6660) 2023-06-15 19:18:12 +02:00
onepassword_raw.py Onepassword lookup add service accounts (#6660) 2023-06-15 19:18:12 +02:00
passwordstore.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
random_pet.py
random_string.py random_string docs to say it's cryptographically secure (#6691) 2023-06-29 23:29:50 +02:00
random_words.py
redis.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
revbitspss.py Start using semantic markup (#6627) 2023-06-10 09:28:40 +02:00
shelvefile.py Lookups: use Ansible's config manager whenever possible (#5440) 2022-11-01 21:58:46 +01:00
tss.py Fix multiple issues with the TSS lookup plugin when using fetch_attachments (#6720) 2023-06-20 18:23:16 +02:00