Send a projected flex-auth caller token on every check
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 1m7s
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 1m7s
TENANT_ENGINE_FLEX_AUTH_TOKEN_FILE is read per request so hourly projection rotation needs no restart. Missing or unreadable file fails closed as a local deny and never calls flex-auth. Needed before flex-auth-tenant-engine can enforce (FLEX-WP-0015-T02).
This commit is contained in:
parent
0809af063c
commit
2063470ac8
4 changed files with 38 additions and 2 deletions
|
|
@ -760,6 +760,7 @@ def _build_authorizer(settings: Settings) -> WriteAuthorizer:
|
|||
client = FlexAuthCheckClient(
|
||||
base_url=settings.flex_auth_base_url,
|
||||
timeout_seconds=settings.flex_auth_timeout_seconds,
|
||||
bearer_token_file=settings.flex_auth_token_file,
|
||||
)
|
||||
return FlexAuthWriteAuthorizer(client=client)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue