open-vault/api
Jeff Mitchell 90248c79b2
Update lease renewer logic (#4090)
* Add grace period calculation logic to renewer

* Update lease renewer logic.

It is believed by myself and members of the Nomad team that this logic
should be much more robust in terms of causing large numbers of new
secret acquisitions caused by a static grace period. See comments in the
code for details.

Fixes #3414

* Fix some commenting and fix tests

* Add more time to test so that integ tests don't time out

* Fix some review feedback
2018-03-19 15:48:24 -04:00
..
test-fixtures moved the test cert keys to appropriate test-fixtures folder 2016-02-29 15:49:08 -05:00
api_integration_test.go Add API functions for token helpers 2017-10-24 09:26:44 -04:00
api_test.go Redo API locking (#3508) 2017-11-02 09:30:04 -05:00
auth.go Remove RevokePrefix from the API too as we simply do not support it any 2016-04-05 11:00:12 -04:00
auth_token.go Use RenewTokenAsSelf instead 2017-07-07 17:14:44 -04:00
client.go Don't allow non-printable characters in the API client's token (#3841) 2018-01-24 19:57:49 -05:00
client_test.go Don't allow non-printable characters in the API client's token (#3841) 2018-01-24 19:57:49 -05:00
help.go command/help 2015-04-02 22:42:05 -07:00
logical.go Better handle nil responses in logical unwrap 2016-12-01 16:38:08 -05:00
renewer.go Update lease renewer logic (#4090) 2018-03-19 15:48:24 -04:00
renewer_integration_test.go Update lease renewer logic (#4090) 2018-03-19 15:48:24 -04:00
renewer_test.go Update lease renewer logic (#4090) 2018-03-19 15:48:24 -04:00
request.go More syncing 2017-10-23 16:52:56 -04:00
request_test.go api: Allow reseting of request body 2015-04-20 10:44:51 -07:00
response.go api: Don't treat 429 as error (#2850) 2017-06-12 18:31:36 -04:00
secret.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
secret_test.go Cleanup of deprecated commands in tests, docs (#3788) 2018-01-15 15:19:28 -05:00
ssh.go Add SignKey endpoint for SSH API client 2017-08-18 12:59:08 -04:00
ssh_agent.go allow a TLS server name to be configured for SSH agents (#1720) 2016-08-23 22:06:56 -04:00
ssh_agent_test.go Fix breakage for HTTP2 support due to changes in wrapping introduced in 1.8 (#2412) 2017-02-27 12:49:35 -05:00
sys.go api: separate sys out further 2015-03-11 17:46:41 -05:00
sys_audit.go Add WithOptions methods to audit/auth enabling (#2383) 2017-02-16 11:37:27 -05:00
sys_auth.go Audit HMAC values on AuthConfig (#4077) 2018-03-09 14:32:28 -05:00
sys_capabilities.go Restore compatibility with pre-0.6.1 servers for CLI/Go API calls 2016-08-14 14:52:45 -04:00
sys_config_cors.go Cors headers (#2021) 2017-06-17 00:04:55 -04:00
sys_generate_root.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
sys_health.go Sync some bits over 2018-01-22 21:44:49 -05:00
sys_init.go Add support for PGP encrypting the initial root token. (#1883) 2016-09-13 18:42:24 -04:00
sys_leader.go Add leader cluster address to status/leader output. (#3061) 2017-07-31 18:25:27 -04:00
sys_leases.go moving client calls to new endpoint (#2867) 2017-07-25 11:58:33 -04:00
sys_mounts.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
sys_policy.go More syncing 2017-10-23 16:52:56 -04:00
sys_rekey.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
sys_rotate.go Restore compatibility with pre-0.6.1 servers for CLI/Go API calls 2016-08-14 14:52:45 -04:00
sys_seal.go adding recovery info to seal status (#3706) 2017-12-18 09:58:14 -05:00
sys_stepdown.go Provide 'sys/step-down' and 'vault step-down' 2016-02-26 19:43:55 -05:00