open-vault/command/agent/auth
Jeff Mitchell 5c3649defe 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
..
alicloud avoid a panic on failed creds polling (#7238) 2019-08-01 16:22:15 -04:00
approle Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
aws Add region parameter to AWS agent auto auth (#7632) 2019-10-14 11:56:46 -07:00
azure Move useragent to sdk 2019-04-12 18:17:49 -04:00
cert Add certificate auto-auth method to vault agent (#6652) 2019-05-06 10:39:27 -04:00
cf rename pcf to cf maintaining backwards compat (#7346) 2019-08-26 09:55:08 -07:00
gcp Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
jwt Run goimports across the repository (#6010) 2019-01-08 16:48:57 -08:00
kubernetes Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
auth.go Sync up Agent and API's renewers. (#7733) 2019-10-28 17:28:59 -07:00
auth_test.go Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00