open-vault/command/agent
Calvin Leung Huang 90a3f32771
agent: return a non-zero exit code on error (#9670)
* agent: return a non-zero exit code on error

* agent/template: always return on template server error, add case for error_on_missing_key

* agent: fix tests by updating Run params to use an errCh

* agent/template: add permission denied test case, clean up test var

* agent: use unbuffered errCh, emit fatal errors directly to the UI output

* agent: use oklog's run.Group to schedule subsystem runners (#9761)

* agent: use oklog's run.Group to schedule subsystem runners

* agent: clean up unused DoneCh, clean up agent's main Run func

* agent/template: use ts.stopped.CAS to atomically swap value

* fix tests

* fix tests

* agent/template: add timeout on TestRunServer

* agent: output error via logs and return a generic error on non-zero exit

* fix TestAgent_ExitAfterAuth

* agent/template: do not restart ct runner on new incoming token if exit_after_auth is set to true

* agent: drain ah.OutputCh after sink exits to avoid blocking on the channel

* use context.WithTimeout, expand comments around ordering of defer cancel()
2020-09-29 18:03:09 -07:00
..
auth agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
cache Create configutil and move some common config and setup functions there (#8362) 2020-05-14 09:19:27 -04:00
config Run CI tests in docker instead of a machine. (#8948) 2020-09-15 10:01:26 -04:00
sink agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
template agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
alicloud_end_to_end_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
approle_end_to_end_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
aws_end_to_end_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
cache_end_to_end_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
cert_end_to_end_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
cf_end_to_end_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
doc.go Vault Agent Template (#7652) 2019-10-18 16:21:46 -05:00
jwt_end_to_end_test.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07: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: