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

adding wrapping functionality to any plugins and modules where it makes sense #228

Open
briantist opened this issue Mar 13, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@briantist
Copy link
Collaborator

briantist commented Mar 13, 2022

SUMMARY

#223 introduces a doc fragment wrapping.py for the wrap_ttl option.

This option and the resulting functionality should be added to any plugins and modules where it could be valid, which is nearly anything that returns data.

All modified content must include tests for this as well.

Current list of candidates:

  • vault_read (module and lookup)
  • vault_login (module and lookup), this will also require central changes to the authenticator and to each auth method's module util, but should be doable
ISSUE TYPE
  • Feature Idea
COMPONENT NAME
ADDITIONAL INFORMATION
@briantist briantist added the enhancement New feature or request label Mar 13, 2022
@briantist briantist self-assigned this Mar 13, 2022
@lpkirby
Copy link

lpkirby commented Aug 11, 2022

Hi @briantist I've started doing this here: https://github.com/lpkirby/community.hashi_vault/tree/228_add_wrap_ttl
But I didn't want to duplicate work if you've already start working on this. So I'll stop if you're actively working on it.

@briantist
Copy link
Collaborator Author

Hi @lpkirby ! Thank you for asking. I'm not currently working on this, so please proceed and open a PR when you're ready (it doesn't have to be "done" to open a PR).

Looking at the changes you have on your fork, I'll point out that there's already a doc fragment for the parameter, so you can reference that instead of specifying it directly: https://github.com/ansible-collections/community.hashi_vault/blob/main/plugins/doc_fragments/wrapping.py

If you haven't already, please also see the Contributor guide.

Finally, referring to #223 may give you some ideas for implementing the tests.

Thanks again for looking to contribute!

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

No branches or pull requests

2 participants