vault/command/agent
Peter Wilson 64dfff080a
Fix non-JSON log messages when using -log-format JSON (#24252)
* Fix non-JSON log messages when using -log-format JSON

Removed the call to consul-template's logging.Setup inside the created of config for the Runner. Instead we call it when we assign the logger to the Agent command.

* The elusive extra line

* Adjust the approach

* changelog

* Infer levels *with* timestamp prefix

* InferLeveslWithTimestamp required InferLevels

* Test to show -log-format and -log-file working in consul-template generated messages

* classic typo

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-11-29 12:46:18 +00:00
..
config VAULT-19681 allow users to specify files for agent child process stdout/stderr (#22812) 2023-09-12 13:54:37 -04:00
exec VAULT-21325 Use free ports for process manager Agent tests (#23943) 2023-11-09 09:23:42 -05:00
internal/ctmanager Fix non-JSON log messages when using -log-format JSON (#24252) 2023-11-29 12:46:18 +00:00
template [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
test-fixtures/reload VAULT-9883: Agent Reloadable Config (#18638) 2023-01-10 17:45:34 +00:00
alicloud_end_to_end_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
approle_end_to_end_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
auto_auth_preload_token_end_to_end_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
aws_end_to_end_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
cache_end_to_end_test.go VAULT-19239 Add capability to disable dynamic secret caching for Vault Proxy (#23801) 2023-11-15 09:11:10 -05:00
cert_end_to_end_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
cf_end_to_end_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
doc.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
jwt_end_to_end_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
oci_end_to_end_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
README.md docs: Update outdated vaultproject.io/docs/ links (#22162) 2023-08-15 12:59:34 -04:00
testing.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
token_file_end_to_end_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00

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: