open-vault/http
Chris Hoffman a7ada08b3b
Core handling of TTLs (#4230)
* govet cleanup in token store

* adding general ttl handling to login requests

* consolidating TTL calculation to system view

* deprecate LeaseExtend

* deprecate LeaseExtend

* set the increment to the correct value

* move calculateTTL out of SystemView

* remove unused value

* add back clearing of lease id

* implement core ttl in some backends

* removing increment and issue time from lease options

* adding ttl tests, fixing some compile issue

* adding ttl tests

* fixing some explicit max TTL logic

* fixing up some tests

* removing unneeded test

* off by one errors...

* adding back some logic for bc

* adding period to return on renewal

* tweaking max ttl capping slightly

* use the appropriate precision for ttl calculation

* deprecate proto fields instead of delete

* addressing feedback

* moving TTL handling for backends to core

* mongo is a secret backend not auth

* adding estimated ttl for backends that also manage the expiration time

* set the estimate values before calling the renew request

* moving calculate TTL to framework, revert removal of increment and issue time from logical

* minor edits

* addressing feedback

* address more feedback
2018-04-03 12:20:20 -04:00
..
auth_token_test.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
cors.go Set allowed headers via API instead of defaulting to wildcard. (#3023) 2017-08-07 10:03:30 -04:00
forwarding_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
handler.go OSS: Adding UI handlers and configurable headers (#390) 2018-04-03 09:34:01 -05:00
handler_test.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
help.go Make path-help request forward (#2677) 2017-05-04 16:58:50 -04:00
help_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
http_test.go Unauthenticated endpoint to list secret and auth mounts (#4134) 2018-03-19 23:16:33 -04:00
logical.go http/logical: Add http GET parameters to the data map (#4012) 2018-02-21 14:36:53 -08:00
logical_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
plugin_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
stub_assets.go OSS: Adding UI handlers and configurable headers (#390) 2018-04-03 09:34:01 -05:00
sys_audit_test.go Port some replication bits to OSS (#2386) 2017-02-16 15:15:02 -05:00
sys_auth_test.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
sys_config_cors_test.go Set allowed headers via API instead of defaulting to wildcard. (#3023) 2017-08-07 10:03:30 -04:00
sys_generate_root.go Remove context from a few extraneous places 2018-01-19 03:44:06 -05:00
sys_generate_root_test.go generate token functions to share common names (#3576) 2017-11-13 15:44:26 -05:00
sys_health.go Sync some bits over 2018-01-22 21:44:49 -05:00
sys_health_test.go Sync some bits over 2018-01-22 21:44:49 -05:00
sys_init.go Re-add lost stored-shares parameter to operator rekey command. (#3974) 2018-02-14 16:10:45 -05:00
sys_init_test.go Fmt 2018-03-20 14:58:22 -04:00
sys_internal_test.go Unauthenticated endpoint to list secret and auth mounts (#4134) 2018-03-19 23:16:33 -04:00
sys_leader.go Add leader cluster address to status/leader output. (#3061) 2017-07-31 18:25:27 -04:00
sys_leader_test.go Add leader cluster address to status/leader output. (#3061) 2017-07-31 18:25:27 -04:00
sys_lease_test.go Exclude /sys/leases/renew from registering with expiration manager (#2891) 2017-06-20 12:34:00 -04:00
sys_mount_test.go Fix tests 2018-03-21 23:50:44 -04:00
sys_mounts_test.go Rename "generic" secret backend to "kv" (#3292) 2017-09-15 09:02:29 -04:00
sys_policy_test.go Final sync 2017-10-23 17:39:21 -04:00
sys_rekey.go Re-add lost stored-shares parameter to operator rekey command. (#3974) 2018-02-14 16:10:45 -05:00
sys_rekey_test.go Make compile 2017-10-23 17:41:44 -04:00
sys_rotate_test.go Fix tests and update mapstructure 2016-08-08 16:00:31 -04:00
sys_seal.go Remove context from a few extraneous places 2018-01-19 03:44:06 -05:00
sys_seal_test.go fix unseal reset test (#3528) 2017-11-03 09:31:39 -04:00
sys_wrapping_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
testing.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00