open-vault/internalshared
Theron Voran ae79afdd26
agent: Use an in-process listener with cache (#12762)
Uses a bufconn listener between consul-template and vault-agent when
caching is enabled and either templates or a listener is defined. This
means no listeners need to be defined in vault-agent for just
templating. Always routes consul-template through the vault-agent
cache (instead of only when persistent cache is enabled).

Uses a local transportDialer interface in config.Cache{}. 

Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
Co-authored-by: Ben Ash <32777270+benashz@users.noreply.github.com>
2021-10-15 17:22:19 -07:00
..
configutil Customizing HTTP headers in the config file (#12485) 2021-10-13 11:06:33 -04:00
listenerutil agent: Use an in-process listener with cache (#12762) 2021-10-15 17:22:19 -07:00
README.md

HashiCorp-internal libs

Do not use these unless you know what you're doing.

These libraries are used by other HashiCorp software to reduce code duplication and increase consistency. They are not libraries needed by Vault plugins -- those are in the sdk/ module.

There are no compatibility guarantees. Things in here may change or move or disappear at any time.

If you are a Vault plugin author and think you need a library in here in your plugin, please open an issue for discussion.