open-vault/command/agent/config/test-fixtures
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
..
bad-config-auto_auth-wrapped-multiple-sinks.hcl Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
bad-config-cache-auto_auth-method-wrapping.hcl Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
bad-config-cache-inconsistent-auto_auth.hcl Move listener config from 'cache' block to top-level 'listener' blocks. Allow cache without auto-auth. (#6421) 2019-03-15 14:58:53 -04:00
bad-config-cache-no-listeners.hcl Move listener config from 'cache' block to top-level 'listener' blocks. Allow cache without auto-auth. (#6421) 2019-03-15 14:58:53 -04:00
bad-config-method-wrapping-and-sink-wrapping.hcl Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
config-cache-auto_auth-no-sink.hcl Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
config-cache-embedded-type.hcl Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
config-cache-no-auto_auth.hcl Move listener config from 'cache' block to top-level 'listener' blocks. Allow cache without auto-auth. (#6421) 2019-03-15 14:58:53 -04:00
config-cache.hcl Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
config-embedded-type.hcl Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
config-method-wrapping.hcl Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00
config.hcl Agent auto auth wrapping new config checks (#6479) 2019-04-05 16:12:54 -04:00