Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions / improvements #7

Open
jdelvecchio opened this issue Jul 9, 2024 · 0 comments
Open

Suggestions / improvements #7

jdelvecchio opened this issue Jul 9, 2024 · 0 comments

Comments

@jdelvecchio
Copy link

jdelvecchio commented Jul 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant