open-vault/command
Jason O'Donnell 202d674682
command/server: add support to write pprof files to the filesystem via SIGUSR2 (#20609)
* core/server: add support to write pprof files to the filesystem via SIGUSR2

* changelog

* Fix filepath join

* Use core logger

* Simplify logic

* Break on error
2023-05-17 09:21:25 -04:00
..
agent move private function to internal pkg for sharing (#20531) 2023-05-15 10:55:28 -04:00
config adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
healthcheck adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
server Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
test-fixtures adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
agent.go VAULT-12940 Vault Agent uses Vault Agent specific User-Agent header when issuing requests (#19776) 2023-04-03 14:14:47 -04:00
agent_test.go VAULT-12940 Vault Agent uses Vault Agent specific User-Agent header when issuing requests (#19776) 2023-04-03 14:14:47 -04:00
approle_concurrency_integ_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audit.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audit_disable.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audit_disable_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audit_enable.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audit_enable_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audit_list.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
audit_list_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_disable.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_disable_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_enable.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_enable_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_help.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_help_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_list.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_list_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_move.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_move_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_tune.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_tune_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
base.go disable printing flags warning message for the ssh command (#20502) 2023-05-08 16:15:44 +00:00
base_flags.go CLI to take days as a unit of time (#20477) 2023-05-04 08:03:37 -07:00
base_flags_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
base_helpers.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
base_helpers_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
base_predict.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
base_predict_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
base_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
command_test.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
commands.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
commands_nonwindows.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
commands_windows.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
config.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
config_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
debug.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
debug_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
delete.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
delete_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
events.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
events_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
format.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
format_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_delete.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_destroy.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_enable_versioning.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_get.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_helpers.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_helpers_test.go Move TestWalkSecretsTree to the correct file. (#20493) 2023-05-03 18:24:23 +00:00
kv_list.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_metadata.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_metadata_delete.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_metadata_get.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_metadata_patch.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_metadata_patch_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_metadata_put.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_metadata_put_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_patch.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_put.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_rollback.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
kv_test.go Move TestWalkSecretsTree to the correct file. (#20493) 2023-05-03 18:24:23 +00:00
kv_undelete.go Improve addPrefixToKVPath helper (#20488) 2023-05-03 17:10:55 +00:00
lease.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
lease_lookup.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
lease_lookup_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
lease_renew.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
lease_renew_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
lease_revoke.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
lease_revoke_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
list.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
list_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
log_flags.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
log_flags_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
login.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
login_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
main.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
monitor.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
monitor_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
namespace.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
namespace_api_lock.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
namespace_api_unlock.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
namespace_create.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
namespace_delete.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
namespace_list.go cli/namespace: add detailed flag to namespace list (#20243) 2023-04-19 09:31:51 -04:00
namespace_lookup.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
namespace_patch.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_diagnose.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_diagnose_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_generate_root.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_generate_root_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_init.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_init_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_key_status.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_key_status_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_members.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_migrate.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_migrate_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft_autopilot_get_config.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft_autopilot_set_config.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft_autopilot_state.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft_join.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft_listpeers.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft_remove_peer.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft_snapshot.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft_snapshot_restore.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_raft_snapshot_save.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_rekey.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_rekey_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_seal.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_seal_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_step_down.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_step_down_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_unseal.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_unseal_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
operator_usage.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
patch.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
patch_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_help.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
path_help_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pgp_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_health_check.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_health_check_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_issue_intermediate.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_issue_intermediate_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_list_intermediate.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_list_intermediate_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_reissue_intermediate.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_reissue_intermediate_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_verify_sign.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
pki_verify_sign_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_deregister.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_deregister_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_info.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_info_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_list.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_list_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_register.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_register_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_reload.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_reload_status.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_reload_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_delete.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_delete_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_fmt.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_fmt_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_list.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_list_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_read.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_read_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_write.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
policy_write_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
print.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
print_token.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
read.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
read_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
rotate.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
rotate_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_disable.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_disable_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_enable.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_enable_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_list.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_list_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_move.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_move_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_tune.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secrets_tune_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
server.go command/server: add support to write pprof files to the filesystem via SIGUSR2 (#20609) 2023-05-17 09:21:25 -04:00
server_noprofile.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
server_profile.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
server_test.go Fix panic when Vault enters recovery mode, added test (#20418) 2023-04-28 12:41:19 +00:00
server_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ssh.go disable printing flags warning message for the ssh command (#20502) 2023-05-08 16:15:44 +00:00
ssh_test.go disable printing flags warning message for the ssh command (#20502) 2023-05-08 16:15:44 +00:00
status.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
status_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_capabilities.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_capabilities_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_create.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_create_test.go CLI to take days as a unit of time (#20477) 2023-05-04 08:03:37 -07:00
token_lookup.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_lookup_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_renew.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_renew_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_revoke.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
token_revoke_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
transit.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
transit_import_key.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
transit_import_key_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
transit_import_key_version.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
unwrap.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
unwrap_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
version.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
version_history.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
version_history_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
version_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
write.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
write_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00