open-vault/command/agent
Calvin Leung Huang c1a2a939f9
agent: restart template runner on retry for unlimited retries (#11775)
* agent: restart template runner on retry for unlimited retries

* template: log error message early

* template: delegate retries back to template if param is set to true

* agent: add and use the new template config stanza

* agent: fix panic, fix existing tests

* changelog: add changelog entry

* agent: add tests for exit_on_retry_failure

* agent: properly check on agent exit cases, add separate tests for missing key vs missing secrets

* agent: add note on difference between missing key vs missing secret

* docs: add docs for template_config

* Update website/content/docs/agent/template-config.mdx

Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>

* Update website/content/docs/agent/template-config.mdx

Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>

* Update website/content/docs/agent/template-config.mdx

Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>

* Update website/content/docs/agent/template-config.mdx

Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>

* Update website/content/docs/agent/template-config.mdx

Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>

* docs: fix exit_on_retry_failure, fix Functionality section

* docs: update interaction title

* template: add internal note on behavior for persist case

* docs: update agent, template, and template-config docs

* docs: update agent docs on retry stanza

* Apply suggestions from code review

Co-authored-by: Jim Kalafut <jkalafut@hashicorp.com>
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>

* Update changelog/11775.txt

Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>

* agent/test: rename expectExit to expectExitFromError

* agent/test: add check on early exits on the happy path

* Update website/content/docs/agent/template-config.mdx

Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>

Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
Co-authored-by: Jim Kalafut <jkalafut@hashicorp.com>
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
2021-06-21 16:10:15 -07:00
..
auth command: deprecate errwrap.Wrapf() (#11744) 2021-06-02 09:22:31 -04:00
cache agent: restart template runner on retry for unlimited retries (#11775) 2021-06-21 16:10:15 -07:00
config agent: restart template runner on retry for unlimited retries (#11775) 2021-06-21 16:10:15 -07:00
sink command: deprecate errwrap.Wrapf() (#11744) 2021-06-02 09:22:31 -04:00
template agent: restart template runner on retry for unlimited retries (#11775) 2021-06-21 16:10:15 -07:00
winsvc Allow Vault Agent to run as a Windows service (#10231) 2020-11-23 14:24:32 -08:00
README.md Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00
alicloud_end_to_end_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
approle_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auto_auth_preload_token_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
aws_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cache_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cert_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cf_end_to_end_test.go mod: update plugin versions for 1.7.0 (#11046) 2021-03-04 18:32:51 -08:00
doc.go Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00
jwt_end_to_end_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
testing.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00

README.md

Vault Agent

Vault Agent is a client daemon that provides Auth-Auth, Caching, and Template features.

Vault Agent provides a number of different helper features, specifically addressing the following challenges:

  • Automatic authentication
  • Secure delivery/storage of tokens
  • Lifecycle management of these tokens (renewal & re-authentication)

See the usage documentation on the Vault website here: