open-vault/command
Vishal Nayak feb235d5f8
Vault Agent Cache (#6220)
* vault-agent-cache: squashed 250+ commits

* Add proper token revocation validations to the tests

* Add more test cases

* Avoid leaking by not closing request/response bodies; add comments

* Fix revoke orphan use case; update tests

* Add CLI test for making request over unix socket

* agent/cache: remove namespace-related tests

* Strip-off the auto-auth token from the lookup response

* Output listener details along with configuration

* Add scheme to API address output

* leasecache: use IndexNameLease for prefix lease revocations

* Make CLI accept the fully qualified unix address

* export VAULT_AGENT_ADDR=unix://path/to/socket

* unix:/ to unix://
2019-02-14 20:10:36 -05:00
..
agent Vault Agent Cache (#6220) 2019-02-14 20:10:36 -05:00
config Run goimports across the repository (#6010) 2019-01-08 16:48:57 -08:00
server Vault Agent Cache (#6220) 2019-02-14 20:10:36 -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 Run goimports across the repository (#6010) 2019-01-08 16:48:57 -08:00
agent.go Vault Agent Cache (#6220) 2019-02-14 20:10:36 -05:00
agent_test.go Vault Agent Cache (#6220) 2019-02-14 20:10:36 -05:00
approle_concurrency_integ_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07: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 Remove injection into top routes (#5101) 2018-08-14 15:29:22 -04: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 Add allowed_response_headers (#6115) 2019-02-05 16:02:15 -05:00
auth_enable_test.go Fix unit tests broken with JWT plugin update 2019-02-14 12:14:18 -08: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 Restore plugin name for backwards compatibility (#5825) 2018-11-19 16:41:17 -08: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 Batch tokens (#755) 2018-10-15 12:56:24 -04: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 Vault Agent Cache (#6220) 2019-02-14 20:10:36 -05:00
base_flags.go Sync some ns stuff to api/command 2018-08-22 14:37:40 -04:00
base_helpers.go Fix command panic by returning empty (not nil) map (#5603) 2018-10-24 13:08:40 -07:00
base_helpers_test.go Expand and centralize helpers 2017-10-24 09:28:05 -04:00
base_predict.go Update backwards compat fix from 5913 2018-12-12 15:36:28 -05:00
base_predict_test.go Fix unit tests broken with JWT plugin update 2019-02-14 12:14:18 -08:00
command_test.go Run goimports across the repository (#6010) 2019-01-08 16:48:57 -08:00
commands.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08: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
delete.go Rejig 404 handling again. (#4264) 2018-04-04 04:41:46 -04:00
delete_test.go Always use a local test server (#4207) 2018-03-28 10:34:37 -04:00
format.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
format_test.go Don't use environment as a mechanism for floating format around. (#4622) 2018-05-23 16:45:17 -04: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 KV: Update 'versioned' naming to 'v2' (#4293) 2018-04-09 09:39:32 -07:00
kv_get.go Add in logic for handling a field of 'data' to `kv get` (#4895) 2018-07-11 15:50:26 -04:00
kv_helpers.go Add the ability to print curl commands from CLI (#6113) 2019-02-01 17:13:51 -05:00
kv_list.go Kv preflight (#4430) 2018-04-23 15:00:02 -07:00
kv_metadata.go command/kv: Add a "kv" subcommand for using the key-value store (#4168) 2018-03-21 15:02:41 -07: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 Fix flag name for kv help text (#5580) 2018-10-22 15:22:43 -04:00
kv_patch.go Add `kv rollback` (#4774) 2018-06-15 15:34:17 -04:00
kv_put.go Fallback to version 1 if the vault server is too old to have the kv preflight endpoint (#4445) 2018-04-24 15:49:06 -07:00
kv_rollback.go Add `kv rollback` (#4774) 2018-06-15 15:34:17 -04:00
kv_test.go Kv preflight (#4430) 2018-04-23 15:00:02 -07:00
kv_undelete.go Fix writing to KVv2 root via `kv put` (#4726) 2018-06-08 13:45:47 -04:00
lease.go Add lease subcommand 2017-10-24 09:30:47 -04: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 Allow returning warnings and other data in 404s in the Go API (#4256) 2018-04-03 22:35:45 -04:00
list_test.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
login.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08:00
login_test.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08:00
main.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08:00
namespace.go Sync some ns stuff to api/command 2018-08-22 14:37:40 -04:00
namespace_create.go Sync over 2018-08-27 12:02:57 -04:00
namespace_delete.go Sync over 2018-08-27 12:02:57 -04:00
namespace_list.go Sync some ns stuff to api/command 2018-08-22 14:37:40 -04:00
namespace_lookup.go Sync over some stuff 2018-08-24 12:09:03 -04:00
operator.go Add "operator" subcommand 2017-10-24 09:30:48 -04:00
operator_generate_root.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08:00
operator_generate_root_test.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
operator_init.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08:00
operator_init_test.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07: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 Show migration check error (#5806) 2018-11-16 15:09:35 -08:00
operator_migrate_test.go Simplify base62.Random (#5982) 2018-12-20 07:40:01 -08:00
operator_rekey.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08: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 Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
operator_unseal_test.go Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08: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 Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07: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 Support registering plugin with name only (#5787) 2018-11-15 14:33:11 -08:00
plugin_deregister_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
plugin_info.go Support registering plugin with name only (#5787) 2018-11-15 14:33:11 -08:00
plugin_info_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
plugin_list.go Update backwards compat fix from 5913 2018-12-12 15:36:28 -05:00
plugin_list_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
plugin_register.go Support registering plugin with name only (#5787) 2018-11-15 14:33:11 -08:00
plugin_register_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
plugin_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08: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 remove panicking and added usage (#6208) 2019-02-11 11:19:08 -08: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
seal_migration_test.go Updates to recovery keys (#6152) 2019-02-01 11:29:55 -08: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 Add allowed_response_headers (#6115) 2019-02-05 16:02:15 -05:00
secrets_enable_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
secrets_list.go Restore plugin name for backwards compatibility (#5825) 2018-11-19 16:41:17 -08: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 Add description flag to secrets and auth tune subcommands (#4894) 2018-07-12 11:15:50 -04:00
secrets_tune_test.go Mount tune options (#5809) 2018-11-19 14:23:25 -08:00
server.go Prometheus support on v1/sys/metrics endpoint (#5308) 2019-02-14 12:46:59 -08:00
server_devfourcluster.go The big one (#5346) 2018-09-17 23:03:00 -04: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 Fix server command test (#5407) 2018-09-26 14:52:11 -07:00
server_util.go Add HSMAutoDeprecated for ent upgrade (#5704) 2018-11-06 09:42:03 -08:00
ssh.go Change deprecation warning to 1.1 2018-10-23 02:44:57 -04:00
ssh_test.go Allow vault ssh to work with single ssh args like -v (#4825) 2018-07-16 10:11:56 -04:00
status.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -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 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 Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08: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 Remove deprecated CLI commands (#6112) 2019-02-14 11:54:47 -08:00
token_renew_test.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -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 CLI Enhancements (#3897) 2018-02-12 18:12:16 -05: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 Update version command 2017-10-24 09:30:48 -04:00
version_test.go Always use a local test server (#4207) 2018-03-28 10:34:37 -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