Open
Description
SUMMARY
The existing plugins/modules for the HashiVault collection do not provide a method to unwrap a token.
ISSUE TYPE
In some cases, the playbook will be given a wrapped token at execution time that needs to first be unwrapped before calling vault login. There is no ability to call the unwrap endpoint via the hashivault plugins.
COMPONENT NAME
vault_unwrap
ADDITIONAL INFORMATION
It would be much more streamlined if the unwrap endpoint was exposed via a lookup plugin or module so that we don't need to use a basic uri module first to call vault unwrap before using the hashivault plugins.
"{{ lookup('community.hashi_vault.vault_unwrap', url='https://vault', token='wrapped_token') }}"