open-vault/command/agent
Renato Costa ea1257be2e
fix incorrect use of loop variable (#16872)
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.
2022-10-04 09:23:37 -04:00
..
auth agent/auto-auth: add exit_on_err configurable (#17091) 2022-09-15 11:00:31 -07:00
cache VAULT-6575 Vault agent respects retry config even with caching set (#16970) 2022-09-06 10:35:54 -04:00
config agent: Fix missing file suffix in config test (#17245) 2022-09-21 11:30:04 -04:00
sink OSS changes for ent pr (#13696) 2022-01-19 09:43:12 -08:00
template VAULT-6575 Vault agent respects retry config even with caching set (#16970) 2022-09-06 10:35:54 -04:00
winsvc Convert to Go 1.17 go:build directive (#13579) 2022-01-05 12:02:03 -06:00
alicloud_end_to_end_test.go refactor: replace strings.Replace with strings.ReplaceAll (#15392) 2022-08-03 15:22:48 -04:00
approle_end_to_end_test.go fix incorrect use of loop variable (#16872) 2022-10-04 09:23:37 -04:00
auto_auth_preload_token_end_to_end_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
aws_end_to_end_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
cache_end_to_end_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
cert_end_to_end_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
cf_end_to_end_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
doc.go
jwt_end_to_end_test.go Revert the WithContext changes to vault tests (#14947) 2022-04-07 15:12:58 -04:00
README.md
testing.go

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: