open-vault/builtin/credential/approle
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
..
backend.go Add context to the NewSalt function (#4102) 2018-03-08 11:21:11 -08:00
backend_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
path_login.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
path_login_test.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
path_role.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
path_role_test.go approle: Use TypeCommaStringSlice for BoundCIDRList (#4078) 2018-03-08 17:49:08 -05:00
path_tidy_user_id.go Add context to the NewSalt function (#4102) 2018-03-08 11:21:11 -08:00
path_tidy_user_id_test.go AppRole: Cleanup accessor indexes and dangling accessor indexes (#3924) 2018-02-06 15:44:48 -05:00
validation.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
validation_test.go Pass context to backends (#3750) 2018-01-08 10:31:38 -08:00