Skip to content

Documentation about auth_method 'none' hashi_vault #396

Answered by briantist
Fabiokleis asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Fabiokleis ! The none auth method is useful when you want to Vault agent as the HTTP host, using it as an API proxy, in combination with auto-auth.

In your above example, it should work as long as your agent is listening on http://127.0.0.1:8100.

In that mode of operation, nothing running in Ansible needs to retrieve the token at all, because the request will go to the agent with no authentication, and the agent will proxy the request to its upstream Vault server with the token injected,

I recommend using the agent in this way, with the none authentication type, unless you cannot run agent as a proxy for some reason.


The other method you describe, where you want to directly use the t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fabiokleis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #395 on September 02, 2023 02:51.