open-vault/command
Jeff Mitchell 6d00f0c483 Adds HUP support for audit log files to close and reopen. (#1953)
Adds HUP support for audit log files to close and reopen. This makes it
much easier to deal with normal log rotation methods.

As part of testing this I noticed that HUP and other items that come out
of command/server.go are going to stderr, which is where our normal log
lines go. This isn't so much problematic with our normal output but as
we officially move to supporting other formats this can cause
interleaving issues, so I moved those to stdout instead.
2016-09-30 12:04:50 -07:00
..
server Rejig where the reload functions live 2016-09-30 00:07:22 -04: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 Strip trailing whitespace in token from file. 2016-08-23 20:22:45 -04:00
audit_disable.go Follow Vault convention on `DELETE` being idempotent (#1903) 2016-09-19 13:02:25 -04:00
audit_disable_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
audit_enable.go Update audit-enable to show more examples (#1842) 2016-09-01 20:14:29 -04:00
audit_enable_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
audit_list.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
audit_list_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
auth.go Don't panic on bad auth path 2016-09-08 11:14:47 -04:00
auth_disable.go Follow Vault convention on `DELETE` being idempotent (#1903) 2016-09-19 13:02:25 -04:00
auth_disable_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
auth_enable.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
auth_enable_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
auth_test.go Remove config from Meta; it's only used right now with the token helper. 2016-04-01 16:02:18 -04:00
capabilities.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
capabilities_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
command_test.go Remove config from Meta; it's only used right now with the token helper. 2016-04-01 16:02:18 -04: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 Provide clarity for output statements of idempotent calls. 2016-04-14 15:46:45 +00:00
delete_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
format.go Add yml alias for yaml 2016-09-16 10:43:23 -04:00
format_test.go Added JSON Decode and Encode helpers. 2016-07-06 12:25:40 -04:00
generate-root.go Fix generate-root synopsis 2016-08-05 16:35:03 -04:00
generate-root_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
init.go Add support for PGP encrypting the initial root token. (#1883) 2016-09-13 18:42:24 -04:00
init_test.go Add support for PGP encrypting the initial root token. (#1883) 2016-09-13 18:42:24 -04:00
key_status.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
key_status_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
list.go Add response wrapping to list operations (#1814) 2016-09-02 01:13:14 -04:00
list_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
mount.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
mount_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
mount_tune.go Rename mounttune.go 2016-08-08 16:22:28 -04:00
mounts.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
mounts_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
path_help.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
path_help_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
pgp_test.go Remove hex output from keys; standardize on B64 for CLI output. This (#1831) 2016-09-01 12:59:15 -04:00
policy_delete.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
policy_delete_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
policy_list.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
policy_list_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
policy_write.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
policy_write_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
read.go Add unwrap command, and change how the response is embedded (as a string, not an object) 2016-05-19 11:25:15 -04:00
read_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
rekey.go Update text of init/rekey around recovery values 2016-09-12 16:20:21 -04:00
rekey_test.go Wrapping enhancements (#1927) 2016-09-28 21:01:28 -07:00
remount.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
remount_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
renew.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
renew_test.go Add HTTP test for renew and fix muxing 2016-08-08 20:01:08 -04:00
revoke.go Provide clarity for output statements of idempotent calls. 2016-04-14 15:46:45 +00:00
revoke_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
rotate.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
rotate_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
seal.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
seal_test.go Change seal test name in command package 2016-04-26 00:12:14 +00:00
server.go Adds HUP support for audit log files to close and reopen. (#1953) 2016-09-30 12:04:50 -07:00
server_test.go Rejig where the reload functions live 2016-09-30 00:07:22 -04:00
ssh.go Support execution of remote commands using 'vault ssh' 2016-08-01 14:53:00 -04:00
ssh_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
status.go Add cluster information to 'vault status' 2016-07-29 14:13:53 -04:00
status_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
step-down.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
token_create.go Add periodic support for root/sudo tokens to auth/token/create 2016-08-12 21:14:12 -04:00
token_create_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
token_lookup.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
token_lookup_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
token_renew.go Add periodic support for root/sudo tokens to auth/token/create 2016-08-12 21:14:12 -04:00
token_renew_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
token_revoke.go Provide clarity for output statements of idempotent calls. 2016-04-14 15:46:45 +00:00
token_revoke_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
unmount.go Follow Vault convention on `DELETE` being idempotent (#1903) 2016-09-19 13:02:25 -04:00
unmount_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
unseal.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
unseal_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
unwrap.go Wrapping enhancements (#1927) 2016-09-28 21:01:28 -07:00
unwrap_test.go Add response wrapping to list operations (#1814) 2016-09-02 01:13:14 -04:00
util.go Wrapping enhancements (#1927) 2016-09-28 21:01:28 -07:00
version.go Remove the string 'Vault' from version information 2016-09-01 14:54:04 -04:00
version_test.go command: version test 2015-03-03 23:14:54 -08:00
wrapping_test.go Address most review feedback. Change responses to multierror to better return more useful values when there are multiple errors 2016-05-16 16:11:33 -04:00
write.go Add some info about -f to the "expects two arguments" error. 2016-08-12 15:47:16 -04:00
write_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00