open-vault/command
Vishal Nayak b20b7ef61d
command/ssh: create and reuse the api client (#3909)
* pass around the api client

* reuse the client object in the base command
2018-02-06 13:06:17 -05:00
..
server go vet fixes 2018-02-05 14:26:31 -05: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 Introduce auth as a subcommand 2017-10-24 09:30:47 -04:00
audit.go Make audit a subcommand 2017-10-24 09:30:47 -04: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 Adding tests to ensure all backends are mountable (#3861) 2018-02-01 11:30:04 -05:00
audit_list.go Make audit a subcommand 2017-10-24 09:30:47 -04:00
audit_list_test.go Update audit-list command 2017-10-24 09:28:06 -04:00
auth.go Change next major release of Vault to 0.11 or later to make it less scary 2018-01-17 19:31:52 -05:00
auth_disable.go Introduce auth as a subcommand 2017-10-24 09:30:47 -04:00
auth_disable_test.go Introduce auth as a subcommand 2017-10-24 09:30:47 -04:00
auth_enable.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
auth_enable_test.go Adding tests to ensure all backends are mountable (#3861) 2018-02-01 11:30:04 -05:00
auth_help.go Introduce auth as a subcommand 2017-10-24 09:30:47 -04:00
auth_help_test.go Introduce auth as a subcommand 2017-10-24 09:30:47 -04:00
auth_list.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
auth_list_test.go Add new auth-list command 2017-10-24 09:28:06 -04:00
auth_test.go Introduce auth as a subcommand 2017-10-24 09:30:47 -04:00
auth_tune.go Introduce auth as a subcommand 2017-10-24 09:30:47 -04:00
auth_tune_test.go Introduce auth as a subcommand 2017-10-24 09:30:47 -04:00
base.go command/ssh: create and reuse the api client (#3909) 2018-02-06 13:06:17 -05:00
base_flags.go Add a custom flag for specifying "system" ttls 2017-10-24 09:30:48 -04:00
base_helpers.go Move more formatting into base_helpers 2017-10-24 09:30:48 -04:00
base_helpers_test.go Expand and centralize helpers 2017-10-24 09:28:05 -04:00
base_predict.go Predict "generic" as a secrets engine 2017-10-24 09:30:47 -04:00
base_predict_test.go Fix outdated test 2018-01-10 11:33:53 -05:00
command_test.go Adding tests to ensure all backends are mountable (#3861) 2018-02-01 11:30:04 -05:00
commands.go Add centrify CLI handler support 2018-02-05 10:56:57 -05:00
config.go Improve error handling re: homedir expansion 2016-04-25 18:01:13 -07:00
config_test.go Remove config from Meta; it's only used right now with the token helper. 2016-04-01 16:02:18 -04:00
delete.go Update delete command 2017-10-24 09:30:47 -04:00
delete_test.go Update delete command 2017-10-24 09:30:47 -04:00
format.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
format_test.go Update format to not use colored UI for json/yaml 2017-10-24 09:28:07 -04:00
identity_group_aliases_integ_test.go go vet fixes 2018-02-05 14:26:31 -05:00
lease.go Add lease subcommand 2017-10-24 09:30:47 -04:00
lease_renew.go Add lease subcommand 2017-10-24 09:30:47 -04:00
lease_renew_test.go Add lease subcommand 2017-10-24 09:30:47 -04:00
lease_revoke.go Add lease subcommand 2017-10-24 09:30:47 -04:00
lease_revoke_test.go Add lease subcommand 2017-10-24 09:30:47 -04:00
list.go Update list command 2017-10-24 09:30:47 -04:00
list_test.go Update list command 2017-10-24 09:30:47 -04:00
login.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
login_test.go Don't swallow errors on token functions. 2017-10-24 09:39:35 -04:00
main.go Update to use hidden commands 2017-10-24 09:39:34 -04:00
operator.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_generate_root.go adding back -dr-token flag to generate-root command (#3818) 2018-01-19 19:25:45 -05:00
operator_generate_root_test.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_init.go Change next major release of Vault to 0.11 or later to make it less scary 2018-01-17 19:31:52 -05:00
operator_init_test.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_key_status.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_key_status_test.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_rekey.go Change next major release of Vault to 0.11 or later to make it less scary 2018-01-17 19:31:52 -05:00
operator_rekey_test.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_seal.go Add "operator" subcommand 2017-10-24 09:30:48 -04: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 Use a unified helper for seal output 2017-10-24 09:34:12 -04:00
operator_unseal_test.go Fix bad rebase 2017-10-24 09:39:34 -04:00
path_help.go Update path-help command 2017-10-24 09:30:48 -04:00
path_help_test.go Fix bad rebase 2017-10-24 09:39:34 -04:00
path_map_upgrade_api_test.go SHA2-256 salting for AppID (#3806) 2018-01-17 19:48:32 -05:00
pgp_test.go Add helper for decrypting via PGP in tests 2017-10-24 09:28:06 -04:00
policies_deprecated.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policies_deprecated_test.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy_delete.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy_delete_test.go Update policy-delete command 2017-10-24 09:29:36 -04:00
policy_fmt.go Use renamed method 2017-10-24 09:39:51 -04:00
policy_fmt_test.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy_list.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy_list_test.go Add "policy" subcommand 2017-10-24 09:30:48 -04:00
policy_read.go Add "policy" subcommand 2017-10-24 09:30:48 -04: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
read.go Update read command 2017-10-24 09:30:48 -04:00
read_test.go Update read command 2017-10-24 09:30:48 -04:00
rotate.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
rotate_test.go Add "operator" subcommand 2017-10-24 09:30:48 -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 Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
secrets_enable_test.go Adding tests to ensure all backends are mountable (#3861) 2018-02-01 11:30:04 -05:00
secrets_list.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05: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 Rename mounts to secrets engines and add the subcommand 2017-10-24 09:30:48 -04:00
secrets_move_test.go Rename mounts to secrets engines and add the subcommand 2017-10-24 09:30:48 -04:00
secrets_tune.go Rename mounts to secrets engines and add the subcommand 2017-10-24 09:30:48 -04:00
secrets_tune_test.go Rename mounts to secrets engines and add the subcommand 2017-10-24 09:30:48 -04:00
server.go Remove context from a few extraneous places 2018-01-19 03:44:06 -05:00
server_test.go Fix bad rebase 2017-10-24 09:39:34 -04:00
ssh.go command/ssh: create and reuse the api client (#3909) 2018-02-06 13:06:17 -05:00
ssh_test.go Update ssh command 2017-10-24 09:30:46 -04:00
status.go adding recovery info to seal status (#3706) 2017-12-18 09:58:14 -05: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 Add token as a subcommand 2017-10-24 09:30:47 -04:00
token_capabilities_test.go Add token as a subcommand 2017-10-24 09:30:47 -04:00
token_create.go Add token as a subcommand 2017-10-24 09:30:47 -04:00
token_create_test.go Update token-create command 2017-10-24 09:30:46 -04:00
token_lookup.go Add token as a subcommand 2017-10-24 09:30:47 -04:00
token_lookup_test.go Update token-lookup command 2017-10-24 09:30:46 -04:00
token_renew.go Add token as a subcommand 2017-10-24 09:30:47 -04:00
token_renew_test.go Update token-renew command 2017-10-24 09:30:46 -04:00
token_revoke.go Add token as a subcommand 2017-10-24 09:30:47 -04:00
token_revoke_test.go Update token-revoke command 2017-10-24 09:30:46 -04:00
unwrap.go Use vault login instead of vault list in example 2017-10-24 09:32:15 -04:00
unwrap_test.go Update unwrap command 2017-10-24 09:30:47 -04:00
util.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
version.go Update version command 2017-10-24 09:30:48 -04:00
version_test.go Update version command 2017-10-24 09:30:47 -04:00
write.go Update write command 2017-10-24 09:30:48 -04:00
write_test.go Update write command 2017-10-24 09:30:48 -04:00