open-vault/command
Daniel Huckins 058710d33d
Add `-mount` flag to kv list command (#19378)
* add flag

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* handle kv paths

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* scaffold test

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* need metadata for list paths

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* add (broken) test

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* fix test

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* update docs

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* add changelog

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* format

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* add godoc

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* add test case for mount only

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* handle case of no unnamed arg

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* add non-mount behavior

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* add more detail to comment

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

* add v1 tests

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>

---------

Signed-off-by: Daniel Huckins <dhuckins@users.noreply.github.com>
2023-03-20 16:26:21 -04:00
..
agent adding copyright header (#19555) 2023-03-15 09:00:52 -07: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 adding copyright header (#19555) 2023-03-15 09:00:52 -07: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 adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
agent_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07: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 adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
base_flags.go adding copyright header (#19555) 2023-03-15 09:00:52 -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 adding copyright header (#19555) 2023-03-15 09:00:52 -07: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 adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_destroy.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_enable_versioning.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_get.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_helpers.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_list.go Add `-mount` flag to kv list command (#19378) 2023-03-20 16:26:21 -04:00
kv_metadata.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_metadata_delete.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_metadata_get.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_metadata_patch.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_metadata_patch_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_metadata_put.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_metadata_put_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_patch.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_put.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_rollback.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_test.go Add `-mount` flag to kv list command (#19378) 2023-03-20 16:26:21 -04:00
kv_undelete.go adding copyright header (#19555) 2023-03-15 09:00:52 -07: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 adding copyright header (#19555) 2023-03-15 09:00:52 -07: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 adding copyright header (#19555) 2023-03-15 09:00:52 -07: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 adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
server_util.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ssh.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ssh_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07: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 adding copyright header (#19555) 2023-03-15 09:00:52 -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