-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi,
Thanks for you plugin, but I find it a bit tedious to use. It would be way easier if we could, for the very least, not have to input base_url, username and password for every secret we want to retrieve with this plugin.
And even if we could just pass the attribute we want to retrieve at the end instead of having to do a jinja manipulation from json.
How we should be able to call the lookup plugin, ideally :
mysecret: " {{ lookup('delinea.ss.tss', 4937,'password') }}"
instead of :
secret_password: >-
{{
((lookup(
'delinea.ss.tss',
102,
base_url='https://secretserver.domain.com/SecretServer/',
token='delinea_access_token',
) | from_json).get('items') | items2dict(key_name='slug', value_name='itemValue'))['password']
}}
Is this something that could been implemented?
Or is there a way to at least pass base_url, username and password as environment variables?
Thank you very much guys!
Julien
Metadata
Metadata
Assignees
Labels
No labels