open-vault/command
Hridoy Roy 4c569d0fc6
Diagnose Stub Command Tests (#11180)
* a few tests to the operator diagnose stub command

* a few tests to the operator diagnose stub command

* a few tests to the operator diagnose stub command

* empty commit to fix circle ci permissions issue

* empty commit to fix circle ci permissions issue
2021-03-29 14:22:32 -07:00
..
agent agent: drop dockertest dep in cacheboltdb test (#11145) 2021-03-18 17:46:40 -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 Diagnose Stub Command Tests (#11180) 2021-03-29 14:22:32 -07:00
test-fixtures Remove config from Meta; it's only used right now with the token helper. 2016-04-01 16:02:18 -04:00
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 Rework agent retry config, extend it to cover proxy cache as well (#11113) 2021-03-18 14:14:09 -04:00
agent_test.go Use a 15s instead of 10s timeout on this test. The `default` subtest takes 9s on my laptop, so pad that for CI. (#11221) 2021-03-29 09:51:19 -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 Make audit a subcommand 2017-10-24 09:30:47 -04:00
audit_disable_test.go Make audit a subcommand 2017-10-24 09:30:47 -04:00
audit_enable.go Make audit a subcommand 2017-10-24 09:30:47 -04:00
audit_enable_test.go Send a test message before committing a new audit device. (#10520) 2020-12-16 16:00:32 -06: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 Update audit-list command 2017-10-24 09:28:06 -04:00
auth.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08:00
auth_disable.go Introduce auth as a subcommand 2017-10-24 09:30:47 -04:00
auth_disable_test.go Always use a local test server (#4207) 2018-03-28 10:34:37 -04:00
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 Fix confusing error messages around help for 'vault auth' (#4058) 2018-03-01 10:55:24 -05:00
auth_help_test.go Always use a local test server (#4207) 2018-03-28 10:34:37 -04:00
auth_list.go oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07:00
auth_list_test.go Add new auth-list command 2017-10-24 09:28:06 -04:00
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 Add description flag to secrets and auth tune subcommands (#4894) 2018-07-12 11:15:50 -04:00
base.go Autopilot: Server Stabilization, State and Dead Server Cleanup (#10856) 2021-03-03 13:59:50 -05:00
base_flags.go Bool pointer flag (#10988) 2021-02-24 10:45:03 -05:00
base_flags_test.go Bool pointer flag (#10988) 2021-02-24 10:45:03 -05:00
base_helpers.go Two minor changes not reflected OSS side (#11020) 2021-02-26 14:23:56 -06: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 new Vault plugin: Terraform secrets (#10931) 2021-02-19 16:38:56 -06:00
command_test.go Shutdown Test Cores when Tests Complete (#10912) 2021-02-12 13:04:48 -07:00
commands.go Add command to look up a lease by ID (#11129) 2021-03-18 11:11:09 -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 Move checkHCLKeys into hclutil (#4749) 2018-06-12 12:38:08 -04:00
config_test.go Fix output-related tests (#4288) 2018-04-05 20:43:29 -04:00
debug.go Add log gathering to debug command. (#10609) 2020-12-22 15:15:24 -05:00
debug_test.go Add log gathering to debug command. (#10609) 2020-12-22 15:15:24 -05: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 Remove unneeded fields from state output (#11073) 2021-03-10 12:08:12 -05:00
format_test.go core: Record the time a node became active (#10489) 2020-12-11 16:50:19 -08:00
kv.go command/kv: Add a "kv" subcommand for using the key-value store (#4168) 2018-03-21 15:02:41 -07:00
kv_delete.go Fix writing to KVv2 root via `kv put` (#4726) 2018-06-08 13:45:47 -04:00
kv_destroy.go Fix writing to KVv2 root via `kv put` (#4726) 2018-06-08 13:45:47 -04:00
kv_enable_versioning.go Fix outdated enable-versioning command usage in kv (#10212) 2020-10-23 12:46:20 -07:00
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 Fix KV list command with whitespaces (#8017) 2020-11-23 12:38:14 -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 Fix writing to KVv2 root via `kv put` (#4726) 2018-06-08 13:45:47 -04:00
kv_metadata_get.go Fix writing to KVv2 root via `kv put` (#4726) 2018-06-08 13:45:47 -04:00
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 Add lease subcommand 2017-10-24 09:30:47 -04:00
lease_lookup.go Add command to look up a lease by ID (#11129) 2021-03-18 11:11:09 -05:00
lease_lookup_test.go Add command to look up a lease by ID (#11129) 2021-03-18 11:11:09 -05:00
lease_renew.go Change deprecation warnings from 0.11 or later to 0.12. (#5176) 2018-08-24 12:16:37 -04:00
lease_renew_test.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
lease_revoke.go Make single-lease revocation behave like expiration (#4883) 2018-07-11 15:45:35 -04:00
lease_revoke_test.go Fix tests 2018-07-12 10:18:50 -04:00
list.go Fix KV list command with whitespaces (#8017) 2020-11-23 12:38:14 -07:00
list_test.go Fix KV list command with whitespaces (#8017) 2020-11-23 12:38:14 -07:00
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 Sync some ns stuff to api/command 2018-08-22 14:37:40 -04:00
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 Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_diagnose.go `vault operator diagnose` stub command (#10819) 2021-02-02 14:15:10 -06:00
operator_diagnose_test.go Diagnose Stub Command Tests (#11180) 2021-03-29 14:22:32 -07:00
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 Fix typo in usage description of operator init -status flag (#10618) 2020-12-23 13:12:44 -07: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 CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
operator_key_status_test.go Always use a local test server (#4207) 2018-03-28 10:34:37 -04:00
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_autopilot_get_config.go Autopilot: Server Stabilization, State and Dead Server Cleanup (#10856) 2021-03-03 13:59:50 -05:00
operator_raft_autopilot_set_config.go Autopilot: Server Stabilization, State and Dead Server Cleanup (#10856) 2021-03-03 13:59:50 -05:00
operator_raft_autopilot_state.go Autopilot: Server Stabilization, State and Dead Server Cleanup (#10856) 2021-03-03 13:59:50 -05:00
operator_raft_join.go Revert "Read-replica instead of non-voter (#10875)" (#10890) 2021-02-10 16:41:58 -05:00
operator_raft_listpeers.go Add list peers to DR secondaries (#10746) 2021-01-22 11:50:59 -05:00
operator_raft_remove_peer.go Merge PR #10059: Port OSS changes from #1497 2020-10-01 15:15:20 -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 Exclude rekey command tests from race detector 2018-02-08 13:34:45 -05:00
operator_seal.go update docs and help text to include 'operator' (#4712) 2018-06-06 21:11:21 -07:00
operator_seal_test.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_step_down.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_step_down_test.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
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
operator_usage.go "vault operator usage" CLI for client count reporting (#10365) 2020-11-23 14:57:35 -06: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 Fix bad rebase 2017-10-24 09:39:34 -04:00
path_map_upgrade_api_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
pgp_test.go Add helper for decrypting via PGP in tests 2017-10-24 09:28:06 -04:00
plugin.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
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 Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
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 Fix minor docs and help text issues (#4184) 2018-03-22 09:29:59 -04:00
policy_delete.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy_delete_test.go Always use a local test server (#4207) 2018-03-28 10:34:37 -04:00
policy_fmt.go The big one (#5346) 2018-09-17 23:03:00 -04:00
policy_fmt_test.go Fix output-related tests (#4288) 2018-04-05 20:43:29 -04:00
policy_list.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
policy_list_test.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy_read.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
policy_read_test.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy_write.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy_write_test.go Update policy-write command 2017-10-24 09:29:37 -04:00
print.go remove panicking and added usage (#6208) 2019-02-11 11:19:08 -08:00
print_token.go Fix typo in print token synopsis text (#10320) 2020-12-03 10:59:09 -07:00
read.go Add support for passing args via `vault read` (#5093) 2018-08-13 22:00:26 -04:00
read_test.go Fix read test 2018-08-14 14:20:49 -04:00
rotate.go update docs and help text to include 'operator' (#4712) 2018-06-06 21:11:21 -07:00
rotate_test.go Always use a local test server (#4207) 2018-03-28 10:34:37 -04:00
secrets.go Rename mounts to secrets engines and add the subcommand 2017-10-24 09:30:48 -04:00
secrets_disable.go Rename mounts to secrets engines and add the subcommand 2017-10-24 09:30:48 -04:00
secrets_disable_test.go Rename mounts to secrets engines and add the subcommand 2017-10-24 09:30:48 -04:00
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 Rename mounts to secrets engines and add the subcommand 2017-10-24 09:30:48 -04:00
secrets_move.go Explicitly state that secrets move doesn't work across namespaces 2018-11-07 11:07:19 -05:00
secrets_move_test.go Always use a local test server (#4207) 2018-03-28 10:34:37 -04:00
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 Make metrics access unauthenticated when in dev mode. (#10992) 2021-02-24 14:04:23 -05:00
server_noprofile.go Add memory profiling for custom builds (#5584) 2018-10-31 11:11:45 -07:00
server_profile.go Add memory profiling for custom builds (#5584) 2018-10-31 11:11:45 -07:00
server_test.go Update go version to 1.15.3 (#10279) 2020-10-30 16:44:06 -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 Unconditionally use the root namespace when calling sys/seal-status. (#10742) 2021-01-25 11:25:54 -06:00
status_test.go Fix bad rebase 2017-10-24 09:39:34 -04:00
token.go Add token as a subcommand 2017-10-24 09:30:47 -04:00
token_capabilities.go Improve CLI error message (#5327) 2018-09-13 08:23:36 -07:00
token_capabilities_test.go Fix panic when running capabilities CLI command with multiple paths (#4553) 2018-05-11 11:58:12 -04:00
token_create.go minor docs updates (#8725) 2020-04-13 10:03:05 -07:00
token_create_test.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
token_lookup.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
token_lookup_test.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
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 Add token as a subcommand 2017-10-24 09:30:47 -04:00
token_revoke_test.go Always use a local test server (#4207) 2018-03-28 10:34:37 -04:00
unwrap.go Support unwrapping tokens that does not contain data (#8714) 2020-04-09 14:09:23 -04:00
unwrap_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
util.go Allow lease_duration to be pulled out with -field (#4906) 2018-07-11 15:09:04 -04:00
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 Rejig 404 handling again. (#4264) 2018-04-04 04:41:46 -04:00
write_test.go Update write command 2017-10-24 09:30:48 -04:00