chore: clarify cache_ttl to be key_recheck_period (#2220)

# What does this PR do?

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 17:30:23 +02:00 committed by GitHub
parent c25acedbcd
commit 1862de4be5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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",
},