Skip to content

Add an unwrap plugin/module #460

Open
@chrisdola

Description

@chrisdola
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') }}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions