open-vault/command
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
..
agent agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
config Ensure that the .vault-token file writen by `vault login` always has the correct permissions and ownership. (#8867) 2020-04-27 19:55:13 -04:00
server Run CI tests in docker instead of a machine. (#8948) 2020-09-15 10:01:26 -04:00
test-fixtures
token Ensure that the .vault-token file writen by `vault login` always has the correct permissions and ownership. (#8867) 2020-04-27 19:55:13 -04:00
agent.go agent: return a non-zero exit code on error (#9670) 2020-09-29 18:03:09 -07:00
agent_test.go Extend agent template tests to also validate that updated templates get re-rendered. (#9097) 2020-05-29 13:36:59 -04:00
approle_concurrency_integ_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
audit.go fix typo (#6469) 2019-03-25 10:56:04 -07:00
audit_disable.go
audit_disable_test.go
audit_enable.go
audit_enable_test.go Run CI tests in docker instead of a machine. (#8948) 2020-09-15 10:01:26 -04:00
audit_list.go Audit listing with format json returns json, not a string (#6776) 2019-06-04 10:36:34 -07:00
audit_list_test.go
auth.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08:00
auth_disable.go
auth_disable_test.go
auth_enable.go Run go fmt (#7823) 2019-11-07 08:54:34 -08:00
auth_enable_test.go rename pcf to cf maintaining backwards compat (#7346) 2019-08-26 09:55:08 -07:00
auth_help.go
auth_help_test.go
auth_list.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
auth_list_test.go
auth_test.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08:00
auth_tune.go Fix improperly formatted help output strings (#6414) 2019-03-14 13:57:28 -07:00
auth_tune_test.go
base.go Fix error handling during client TLS config setup (#8025) 2019-12-18 11:22:15 +01:00
base_flags.go Add date/time argument type. (#9817) 2020-08-26 14:40:23 -05:00
base_flags_test.go Add date/time argument type. (#9817) 2020-08-26 14:40:23 -05:00
base_helpers.go Merge PR #9060: Support reading Raft TLS flags from file 2020-05-23 11:09:55 -04:00
base_helpers_test.go Merge PR #9060: Support reading Raft TLS flags from file 2020-05-23 11:09:55 -04:00
base_predict.go Fix CLI namespace commands (#8315) 2020-02-09 19:38:39 +01:00
base_predict_test.go Bundle couchbase database plugin with vault (#9664) 2020-08-07 11:01:04 +01:00
command_test.go Add a new "vault monitor" command (#8477) 2020-05-21 13:07:50 -07:00
commands.go Global Plugin Reload: OSS Changes Take II (#9347) 2020-06-30 10:26:52 -05:00
commands_nonwindows.go Fix windows build by moving references to SIGUSR2 into a file not built (#6422) 2019-03-15 10:12:48 -07:00
commands_windows.go Fix windows build by moving references to SIGUSR2 into a file not built (#6422) 2019-03-15 10:12:48 -07:00
config.go
config_test.go
debug.go Bump API/SDK and adapt to move from SDK stuff 2020-02-15 14:58:05 -05:00
debug_test.go debug: fix test typo (#7862) 2019-11-11 16:30:49 -08:00
delete.go logical: add support for passing data to delete (#7139) 2019-07-18 10:42:36 -07:00
delete_test.go logical: add support for passing data to delete (#7139) 2019-07-18 10:42:36 -07:00
format.go Normalize format output for vault status [VAULT-508] (#9976) 2020-09-23 10:30:01 -07:00
format_test.go Normalize format output for vault status [VAULT-508] (#9976) 2020-09-23 10:30:01 -07:00
kv.go
kv_delete.go
kv_destroy.go
kv_enable_versioning.go
kv_get.go Remove unused code in kv_get.go (#7583) 2019-10-07 10:18:04 -04:00
kv_helpers.go Fix a panic caused by a nil response on kv pre-flight (#6675) 2019-05-03 09:10:41 -07:00
kv_list.go Audit listing with format json returns json, not a string (#6776) 2019-06-04 10:36:34 -07:00
kv_metadata.go Add delete-version-after to kv CLI subcommands 2019-06-27 14:17:46 -04:00
kv_metadata_delete.go
kv_metadata_get.go
kv_metadata_put.go allow delete-version-after to be reset to 0 (#8635) 2020-03-30 16:19:44 -07:00
kv_metadata_put_test.go Prevent panic due to upgrading existing `kv` mount to v2. (#9536) 2020-07-20 16:35:26 -04:00
kv_patch.go fix output-curl-string for 'vault kv patch' (#6848) 2019-07-03 09:03:35 -04:00
kv_put.go Remove delete-version-after from kv put and undelete subcommands 2019-06-27 14:17:46 -04:00
kv_rollback.go Remove delete-version-after from kv put and undelete subcommands 2019-06-27 14:17:46 -04:00
kv_test.go Retry a KV put command if the message indicates kv-v2 upgrade. (#9873) 2020-09-02 10:53:36 -05:00
kv_undelete.go Remove delete-version-after from kv put and undelete subcommands 2019-06-27 14:17:46 -04:00
lease.go
lease_renew.go
lease_renew_test.go
lease_revoke.go
lease_revoke_test.go
list.go Audit listing with format json returns json, not a string (#6776) 2019-06-04 10:36:34 -07:00
list_test.go
login.go Fixed github-prod path (#7516) 2019-09-26 08:46:41 -04:00
login_test.go Ignore any existing token during CLI login (#7508) 2019-09-25 10:59:42 -07:00
main.go add a reader that takes stdin (#7074) 2019-07-05 13:36:44 -07:00
monitor.go Add a new "vault monitor" command (#8477) 2020-05-21 13:07:50 -07:00
monitor_test.go Add a new "vault monitor" command (#8477) 2020-05-21 13:07:50 -07:00
namespace.go
namespace_create.go Fix CLI namespace commands (#8315) 2020-02-09 19:38:39 +01:00
namespace_delete.go Fix CLI namespace commands (#8315) 2020-02-09 19:38:39 +01:00
namespace_list.go Fix CLI namespace commands (#8315) 2020-02-09 19:38:39 +01:00
namespace_lookup.go Fix CLI namespace commands (#8315) 2020-02-09 19:38:39 +01:00
operator.go
operator_generate_root.go command/generate-root: support returning json format on decode and generate otp (#7870) 2020-02-14 18:26:49 -08:00
operator_generate_root_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
operator_init.go operator: init -status to return JSON (#8773) 2020-06-08 14:35:39 -04:00
operator_init_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
operator_key_status.go
operator_key_status_test.go
operator_migrate.go raft: add support for using backend for ha_storage (#9193) 2020-06-23 12:04:13 -07:00
operator_migrate_test.go Update to api 1.0.1 and sdk 0.1.8 2019-04-15 14:10:07 -04:00
operator_raft.go Raft cli docs (#8548) 2020-03-17 09:46:44 -04:00
operator_raft_join.go raft: add support for using backend for ha_storage (#9193) 2020-06-23 12:04:13 -07:00
operator_raft_listpeers.go Raft cli docs (#8548) 2020-03-17 09:46:44 -04:00
operator_raft_remove_peer.go Raft cli docs (#8548) 2020-03-17 09:46:44 -04:00
operator_raft_snapshot.go Raft cli docs (#8548) 2020-03-17 09:46:44 -04:00
operator_raft_snapshot_restore.go Added operator raft and operator raft snapshot descriptions (#7106) 2019-07-16 09:31:00 +02:00
operator_raft_snapshot_save.go Don't open a raft snapshot file until we have a successful snapshot response. (#9894) 2020-09-14 12:22:45 -05:00
operator_rekey.go Fixed wrong rekey recovery backup client API URL (#6841) 2019-06-11 10:05:44 +02:00
operator_rekey_test.go
operator_seal.go
operator_seal_test.go
operator_step_down.go
operator_step_down_test.go
operator_unseal.go Move password to sdk 2019-04-12 18:12:13 -04:00
operator_unseal_test.go fixing operator unseal test (#6241) 2019-02-15 09:06:37 -08:00
path_help.go Add a deprecated helper to tokenutil and JSON output to path-help (#7006) 2019-06-27 12:56:31 -04:00
path_help_test.go
path_map_upgrade_api_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
pgp_test.go
plugin.go
plugin_deregister.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_deregister_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_info.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_info_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_list.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_list_test.go
plugin_register.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_register_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_reload.go Global Plugin Reload: OSS Changes Take II (#9347) 2020-06-30 10:26:52 -05:00
plugin_reload_status.go Address feedback on Plugin Reload: OSS Side (#9350) 2020-06-30 16:26:38 -05:00
plugin_reload_test.go Global Plugin Reload: OSS Changes Take II (#9347) 2020-06-30 10:26:52 -05:00
plugin_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
policy.go
policy_delete.go
policy_delete_test.go
policy_fmt.go
policy_fmt_test.go
policy_list.go
policy_list_test.go
policy_read.go
policy_read_test.go
policy_write.go
policy_write_test.go
print.go remove panicking and added usage (#6208) 2019-02-11 11:19:08 -08:00
print_token.go remove panicking and added usage (#6208) 2019-02-11 11:19:08 -08:00
read.go
read_test.go
rotate.go
rotate_test.go
secrets.go
secrets_disable.go
secrets_disable_test.go
secrets_enable.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
secrets_enable_test.go test: port test changes to oss (#8694) 2020-04-07 11:26:51 -07:00
secrets_list.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
secrets_list_test.go
secrets_move.go
secrets_move_test.go
secrets_tune.go Fix improperly formatted help output strings (#6414) 2019-03-14 13:57:28 -07:00
secrets_tune_test.go Mount tune options (#5809) 2018-11-19 14:23:25 -08:00
server.go Add logging during awskms auto-unseal (#9794) 2020-09-28 14:06:49 -07:00
server_noprofile.go
server_profile.go
server_test.go Merge PR #9615: tests: attempt build tag fix 2020-07-28 21:43:14 -04:00
server_util.go Test pre-1.4 seal migration (#9085) 2020-06-11 15:07:59 -04:00
ssh.go changed misspelled english words (#6432) 2019-03-19 09:32:45 -04:00
ssh_test.go changed misspelled english words (#6432) 2019-03-19 09:32:45 -04:00
status.go
status_test.go
token.go
token_capabilities.go
token_capabilities_test.go
token_create.go minor docs updates (#8725) 2020-04-13 10:03:05 -07:00
token_create_test.go
token_lookup.go
token_lookup_test.go
token_renew.go Add ability to renew by accessor (#7817) 2019-11-08 11:32:01 -05:00
token_renew_test.go Add ability to renew by accessor (#7817) 2019-11-08 11:32:01 -05:00
token_revoke.go
token_revoke_test.go
unwrap.go Support unwrapping tokens that does not contain data (#8714) 2020-04-09 14:09:23 -04:00
unwrap_test.go
util.go
version.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
version_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
write.go
write_test.go