ansible-collections / community.hashi_vault

Ansible collection for managing and working with HashiCorp Vault.
https://docs.ansible.com/ansible/devel/collections/community/hashi_vault/index.html
GNU General Public License v3.0
80 stars 59 forks source link

Feature Request : Support Vault Agent Credentials #79

Closed jlrgraham23 closed 3 years ago

jlrgraham23 commented 3 years ago
SUMMARY

Support the use of a locally running Vault Agent process to interact with Vault. This relieves the user almost entirely have need to manage or interact with tokens. Example case:

ISSUE TYPE
COMPONENT NAME

community.hashi_vault, authentication methods.

ADDITIONAL INFORMATION

Related: https://github.com/ansible/ansible/issues/60728 It appears that this was suggested before, but deemed unsupported by the upstream Python hvac module, but the notes in the docs there suggest that the module is missing support for UNIX Sockets connections to the Vault Agent. This works fine when connecting to a local TCP Vault Agent listener.