open-vault/command/agent/sink
ncabatoff ef1926b5e4 Agent auto auth wrapping new config checks (#6479)
* Simplify Run(): the function that was being sent over a channel doesn't
need to close over anything except latestToken, and we don't need to
create a new one each iteration.  Instead just pass the relevant items,
namely the token and sink to work on.

* Disallow the following config combinations:
1. auto_auth.method.wrap_ttl > 0 and multiple file sinks
2. auto_auth.method.wrap_ttl > 0 and single file sink with wrap_ttl > 0
3. auto_auth.method.wrap_ttl > 0 and cache.use_auto_auth_token = true

* Expose errors that occur when APIProxy is forwarding request to Vault.

* Fix merge issues.
2019-04-05 16:12:54 -04:00
..
file Run goimports across the repository (#6010) 2019-01-08 16:48:57 -08:00
inmem agent/caching: enable caching of leases generated by autoauth token (#6293) 2019-02-27 13:14:58 -08:00
mock AgentCache: Properly compute auto-auth token (#6264) 2019-02-20 02:11:05 -05:00
sink.go Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00