Summary
Collection does not have a lookup module, making it very hard to use it inside things like group_vars.
Use cases
It's much more useful to be able to put things inside group vars using a lookup module than having a whole module call to make these, also, it allows you to retrieve the secret from the running host.
Proposed solution
An Ansible lookup module :)
Is there a workaround to accomplish this today?
Not really, working with a large number of secrets makes this very hard.
References & Prior Work
Summary
Collection does not have a lookup module, making it very hard to use it inside things like
group_vars.Use cases
It's much more useful to be able to put things inside group vars using a lookup module than having a whole module call to make these, also, it allows you to retrieve the secret from the running host.
Proposed solution
An Ansible lookup module :)
Is there a workaround to accomplish this today?
Not really, working with a large number of secrets makes this very hard.
References & Prior Work