open-vault/vault
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
..
acl.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
acl_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
audit.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
audit_broker.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
audit_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
audited_headers.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
audited_headers_test.go
auth.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
auth_test.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
barrier.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
barrier_access.go
barrier_aes_gcm.go
barrier_aes_gcm_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
barrier_test.go
barrier_view.go
barrier_view_test.go
capabilities.go
capabilities_test.go
cluster.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
cluster_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
core.go OSS: Adding UI handlers and configurable headers (#390) 2018-04-03 09:34:01 -05:00
core_test.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
cors.go command/kv: Add a "kv" subcommand for using the key-value store (#4168) 2018-03-21 15:02:41 -07:00
dynamic_system_view.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
expiration.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
expiration_integ_test.go
expiration_test.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
generate_root.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
generate_root_test.go
identity_lookup.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
identity_lookup_test.go
identity_store.go port missed items from identity store to oss (#4242) 2018-04-02 22:17:33 -04:00
identity_store_aliases.go port missed items from identity store to oss (#4242) 2018-04-02 22:17:33 -04:00
identity_store_aliases_test.go port missed items from identity store to oss (#4242) 2018-04-02 22:17:33 -04:00
identity_store_entities.go
identity_store_entities_test.go port missed items from identity store to oss (#4242) 2018-04-02 22:17:33 -04:00
identity_store_group_aliases.go port missed items from identity store to oss (#4242) 2018-04-02 22:17:33 -04:00
identity_store_group_aliases_test.go Update group alias by ID (#4237) 2018-04-02 10:42:01 -04:00
identity_store_groups.go
identity_store_groups_test.go
identity_store_schema.go
identity_store_structs.go port missed items from identity store to oss (#4242) 2018-04-02 22:17:33 -04:00
identity_store_test.go
identity_store_upgrade.go
identity_store_util.go port missed items from identity store to oss (#4242) 2018-04-02 22:17:33 -04:00
init.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
init_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
keyring.go
keyring_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
logical_cubbyhole.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
logical_cubbyhole_test.go
logical_passthrough.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
logical_passthrough_test.go
logical_system.go adds ability to override default CSP with warning (#395) 2018-04-03 09:34:14 -05:00
logical_system_helpers.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
logical_system_integ_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
logical_system_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
mount.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
mount_test.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
plugin_catalog.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
plugin_catalog_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
plugin_reload.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
policy.go
policy_store.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
policy_store_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
policy_test.go
rekey.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
rekey_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
request_forwarding.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
request_forwarding_service.pb.go
request_forwarding_service.proto
request_handling.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
request_handling_test.go
rollback.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
rollback_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
router.go Passthrough request headers (#4172) 2018-03-21 19:56:47 -04:00
router_access.go
router_ext_test.go Remove old workaround for a rollback error (#4206) 2018-03-27 16:34:06 -04:00
router_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
seal.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
seal_access.go
seal_test.go
seal_testing.go
sealunwrapper.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
sealunwrapper_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
testing.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
token_store.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
token_store_test.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
ui.go adds ability to override default CSP with warning (#395) 2018-04-03 09:34:14 -05:00
ui_test.go Update logformat -> logging 2018-04-03 12:03:35 -04:00
util.go
util_test.go
wrapping.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00