ea1257be2e
This fixes a couple of references to loop variables in parallel tests and deferred functions. When running a parallel test (calling `t.Parallel()`) combined with the table-driven pattern, it's necessary to copy the test case loop variable, otherwise only the last test case is exercised. This is documented in the `testing` package: https://pkg.go.dev/testing#hdr-Subtests_and_Sub_benchmarks `defer` statements that invoke a closure should also not reference a loop variable directly as the referenced value will change in each iteration of the loop. Issues were automatically found with the `loopvarcapture` linter. |
||
---|---|---|
.. | ||
auth | ||
cache | ||
config | ||
sink | ||
template | ||
winsvc | ||
README.md | ||
alicloud_end_to_end_test.go | ||
approle_end_to_end_test.go | ||
auto_auth_preload_token_end_to_end_test.go | ||
aws_end_to_end_test.go | ||
cache_end_to_end_test.go | ||
cert_end_to_end_test.go | ||
cf_end_to_end_test.go | ||
doc.go | ||
jwt_end_to_end_test.go | ||
testing.go |
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: