open-vault/command
Steven Clark c8837f2010
Add ACME health checks to pki health-check CLI (#20619)
* Add ACME health checks to pki health-check CLI

 - Verify we have the required header values listed within allowed_response_headers: 'Replay-Nonce', 'Link', 'Location'
 - Make sure the local cluster config path variable contains an URL with an https scheme

* Split ACME health checks into two separate verifications

 - Promote ACME usage through the enable_acme_issuance check, if ACME is disabled currently
 - If ACME is enabled verify that we have a valid
    'path' field within local cluster configuration as well as the proper response headers allowed.
 - Factor out response header verifications into a separate check mainly to work around possible permission issues.

* Only recommend enabling ACME on mounts with intermediate issuers

* Attempt to connect to the ACME directory based on the cluster path variable

 - Final health check is to attempt to connect to the ACME directory based on the cluster local 'path' value. Only if we successfully connect do we say ACME is healthy.

* Fix broken unit test
2023-05-23 10:37:31 -04:00
..
agent Upgrade go-jose library to v3 (#20559) 2023-05-23 12:25:58 +00:00
agentproxyshared VAULT-15547 Agent/proxy decoupling, take two (#20634) 2023-05-19 13:17:48 -04:00
config adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
healthcheck Add ACME health checks to pki health-check CLI (#20619) 2023-05-23 10:37:31 -04:00
proxy VAULT-15547 Agent/proxy decoupling, take two (#20634) 2023-05-19 13:17:48 -04:00
server VAULT-15547 First pass at agent/proxy decoupling (#20548) 2023-05-17 09:38:34 -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-15547 Agent/proxy decoupling, take two (#20634) 2023-05-19 13:17:48 -04:00
agent_generate_config.go cli: Add 'agent generate-config' sub-command (#20530) 2023-05-19 13:42:19 -04:00
agent_generate_config_test.go cli: Add 'agent generate-config' sub-command (#20530) 2023-05-19 13:42:19 -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 VAULT-15547 First pass at agent/proxy decoupling (#20548) 2023-05-17 09:38:34 -04: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 cli: Add 'agent generate-config' sub-command (#20530) 2023-05-19 13:42:19 -04:00
commands.go cli: Add 'agent generate-config' sub-command (#20530) 2023-05-19 13:42:19 -04: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 Add ACME health checks to pki health-check CLI (#20619) 2023-05-23 10:37:31 -04:00
pki_health_check_test.go Add ACME health checks to pki health-check CLI (#20619) 2023-05-23 10:37:31 -04: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
proxy.go VAULT-15547 Agent/proxy decoupling, take two (#20634) 2023-05-19 13:17:48 -04:00
proxy_test.go VAULT-15547 Agent/proxy decoupling, take two (#20634) 2023-05-19 13:17:48 -04: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 Refactor Code Focused on DevTLS Mode into New Function (#20376) 2023-05-19 15:45:22 -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 Refactor Code Focused on DevTLS Mode into New Function (#20376) 2023-05-19 15:45:22 -04: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