vault/builtin/credential/cert
Scott Miller 734afbe09e
Cache trusted cert values, invalidating when anything changes (#25421)
* Cache trusted cert values, invalidating when anything changes

* rename to something more indicative

* defer

* changelog

* Use an LRU cache rather than a static map so we can't use too much memory.  Add docs, unit tests

* Don't add to cache if disabled.  But this races if just a bool, so make the disabled an atomic
2024-02-15 21:48:30 +00:00
..
cmd/cert [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
test-fixtures cert/tests: fix tests due to cert expiry (#6647) 2019-04-26 16:49:30 -07:00
backend.go Cache trusted cert values, invalidating when anything changes (#25421) 2024-02-15 21:48:30 +00:00
backend_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
cli.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
path_certs.go Cache trusted cert values, invalidating when anything changes (#25421) 2024-02-15 21:48:30 +00:00
path_config.go Cache trusted cert values, invalidating when anything changes (#25421) 2024-02-15 21:48:30 +00:00
path_crls.go Cache trusted cert values, invalidating when anything changes (#25421) 2024-02-15 21:48:30 +00:00
path_crls_test.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
path_login.go Cache trusted cert values, invalidating when anything changes (#25421) 2024-02-15 21:48:30 +00:00
path_login_test.go Cache trusted cert values, invalidating when anything changes (#25421) 2024-02-15 21:48:30 +00:00
test_responder.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00