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
patchback[bot] e69ea28662
[PR #6389/5365647e backport][stable-7] New lookup plug-in: Bitwarden Secrets Manager (#6889)
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>
(cherry picked from commit 5365647ee7)

Co-authored-by: jantari <jantari@outlook.de>
2023-07-08 18:09:39 +02:00
..
bitwarden.py [PR #6699/7ae8cc99 backport][stable-7] Semantic markup: use E() in more places (#6700) 2023-06-15 12:54:13 +02:00
bitwarden_secrets_manager.py [PR #6389/5365647e backport][stable-7] New lookup plug-in: Bitwarden Secrets Manager (#6889) 2023-07-08 18:09:39 +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 Normalize more booleans. (#5247) 2022-09-06 20:42:17 +02:00
collection_version.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
consul_kv.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +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 [PR #6671/6fc1df9b backport][stable-7] Use semantic markup (modules a-c) (#6701) 2023-06-15 19:04:07 +02:00
dig.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
dnstxt.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
dsv.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
etcd.py [PR #6766/fd63f583 backport][stable-7] Improve seealso (#6767) 2023-06-22 13:46:25 +02:00
etcd3.py [PR #6766/fd63f583 backport][stable-7] Improve seealso (#6767) 2023-06-22 13:46:25 +02:00
filetree.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
flattened.py [PR #6671/6fc1df9b backport][stable-7] Use semantic markup (modules a-c) (#6701) 2023-06-15 19:04:07 +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 Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00
lmdb_kv.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
manifold.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
merge_variables.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
onepassword.py [PR #6660/473e557c backport][stable-7] Onepassword lookup add service accounts (#6710) 2023-06-15 20:38:19 +02:00
onepassword_raw.py [PR #6660/473e557c backport][stable-7] Onepassword lookup add service accounts (#6710) 2023-06-15 20:38:19 +02:00
passwordstore.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
random_pet.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
random_string.py [PR #6691/89ad18d1 backport][stable-7] random_string docs to say it's cryptographically secure (#6816) 2023-06-30 06:39:17 +02:00
random_words.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
redis.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
revbitspss.py [PR #6627/011b2f8b backport][stable-7] Start using semantic markup (#6664) 2023-06-10 10:53:50 +02:00
shelvefile.py Lookups: use Ansible's config manager whenever possible (#5440) 2022-11-01 21:58:46 +01:00
tss.py [PR #6720/6bff57ee backport][stable-7] Fix multiple issues with the TSS lookup plugin when using fetch_attachments (#6751) 2023-06-20 18:52:58 +02:00