wip for jinja template type

This commit is contained in:
2022-11-26 18:55:42 +01:00
parent d8bee2e029
commit cb793a7490
13 changed files with 131 additions and 20 deletions

View File

@ -0,0 +1,5 @@
from utils.utils import get_secret_from_bitwarden
def bitwarden_lookup(id, field):
_secret_json = get_secret_from_bitwarden(id)
return _secret_json["login"][field]