vault/command/agent
Jeff Mitchell 79ae63e9ae Sync up Agent and API's renewers. (#7733)
* Sync up Agent and API's renewers.

This introduces a new type, LifetimeWatcher, which can handle both
renewable and non-renewable secrets, modeled after the version in Agent.
It allows the user to select behavior, with the new style being the
default when calling Start(), and old style if using the legacy Renew()
call.

No tests have been modified (except for reflect issues) and no other
code has been modified to make sure the changes are backwards
compatible.

Once this is accepted I'll pull the Agent version out.

* Move compat flags to NewRenewer

* Port agent to shared lifetime watcher lib
2019-10-28 17:28:59 -07:00
..
auth Sync up Agent and API's renewers. (#7733) 2019-10-28 17:28:59 -07:00
cache Sync up Agent and API's renewers. (#7733) 2019-10-28 17:28:59 -07:00
config Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00
sink agent: fix data race on inmemSink's token (#7707) 2019-10-22 10:42:56 -07:00
template Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00
alicloud_end_to_end_test.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
approle_end_to_end_test.go Increase the ttl for the tests to pass 2019-05-08 12:10:48 -04:00
aws_end_to_end_test.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
cache_end_to_end_test.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
cert_with_name_end_to_end_test.go Fix gofmt (#6764) 2019-05-20 15:15:05 -07:00
cert_with_no_name_end_to_end_test.go Fix gofmt (#6764) 2019-05-20 15:15:05 -07:00
cf_end_to_end_test.go rename pcf to cf maintaining backwards compat (#7346) 2019-08-26 09:55:08 -07:00
doc.go Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00
jwt_end_to_end_test.go Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
README.md Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00
testing.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04: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: