chore: clarify cache_ttl to be key_recheck_period

The cache_ttl config value is not in fact tied to the lifetime of any of
the keys, it represents the time interval between for our key cache
refresher.

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2025-05-21 09:35:34 +02:00
parent c25acedbcd
commit c32db30281
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -293,7 +293,7 @@ def oauth2_app():
config={
"jwks": {
"uri": "http://mock-authz-service/token/introspect",
"cache_ttl": "3600",
"key_recheck_period": "3600",
},
"audience": "llama-stack",
},