mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f2e2157bcc
Improve performance of the bitwarden lookup plugin (#7468)
* Improve performance of the bitwarden lookup plugin
When looking for items using an item id, we can access the item directly with
bw get item instead of searching through all items. This doubles the lookup
speed.
* Update changelogs/fragments/bitwarden-lookup-performance.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
* fix indentation
* Ensure backwards compatible behavior in case of errors when doing bitwarden lookup by id
* chore: Link to correct PR in changelog fragment
* Use identity check when comparing with None
---------
Co-authored-by: Richard Klose <richard.klose@gec.io>
Co-authored-by: Richard Klose <richard@klose.dev>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit
|
||
---|---|---|
.. | ||
bitwarden.py | ||
bitwarden_secrets_manager.py | ||
cartesian.py | ||
chef_databag.py | ||
collection_version.py | ||
consul_kv.py | ||
credstash.py | ||
cyberarkpassword.py | ||
dependent.py | ||
dig.py | ||
dnstxt.py | ||
dsv.py | ||
etcd.py | ||
etcd3.py | ||
filetree.py | ||
flattened.py | ||
hiera.py | ||
keyring.py | ||
lastpass.py | ||
lmdb_kv.py | ||
manifold.py | ||
merge_variables.py | ||
onepassword.py | ||
onepassword_raw.py | ||
passwordstore.py | ||
random_pet.py | ||
random_string.py | ||
random_words.py | ||
redis.py | ||
revbitspss.py | ||
shelvefile.py | ||
tss.py |