user-engine/docs
tegwick 4622b64061 Authenticate flex-auth calls with a rotating caller token
Closes the caller side of FLEX-WP-0015. FlexAuthHTTPAdapter reads the
audience-scoped projected ServiceAccount token from a file on every decision,
so hourly rotation needs no restart, and runtime configuration now requires
USER_ENGINE_FLEX_AUTH_TOKEN_FILE.

A missing, empty, or unreadable token file fails closed as a denial without
reaching flex-auth: OSError joins the caught set and an empty read raises.
Coverage proves all three unusable-token cases deny before any request is
made, and that neither the deny reason nor the decision repr carries the
token value.

Tenant-authority reads now identify user-engine as actor `user-engine` under
the protected tenant.read action, keeping tenant ids opaque and URL-encoded.

Contract: docs/flex-auth-caller-identity.md. Full suite: 148 tests, 3
provider-gated skips.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 10:53:31 +02:00
..
interfaces Implement identity canon alignment 2026-06-05 16:04:43 +02:00
canon-interface-card.yaml Implement identity canon alignment 2026-06-05 16:04:43 +02:00
canon-mapping.md Implement identity canon alignment 2026-06-05 16:04:43 +02:00
configuration.md Expand portal onboarding and administration 2026-08-08 23:09:23 +02:00
contracts.md test: add provider postgres conformance 2026-06-16 07:33:34 +02:00
development.md test: add provider postgres conformance 2026-06-16 07:33:34 +02:00
evidence-gap-examples.md Implement identity canon alignment 2026-06-05 16:04:43 +02:00
examples.md Implement family dataspace onboarding 2026-06-05 18:51:47 +02:00
family-dataspace-onboarding.md Implement family dataspace onboarding 2026-06-05 18:51:47 +02:00
final-assessment.md Finalize user-engine contracts and operability 2026-05-22 21:45:30 +02:00
flex-auth-caller-identity.md Authenticate flex-auth calls with a rotating caller token 2026-08-18 10:53:31 +02:00
hats-realms-services-assets-access-profiles.md feat: add registration access ui contracts 2026-06-15 23:39:34 +02:00
identity-domain-naming-decision.md Implement identity canon alignment 2026-06-05 16:04:43 +02:00
netkingdom-registration-onboarding-vision.md test: add registration security conformance 2026-06-15 23:59:45 +02:00
onboarding-journeys-and-welcome-protocols.md feat: add registration access ui contracts 2026-06-15 23:39:34 +02:00
operability.md Expose protected operability metrics 2026-07-29 23:52:06 +02:00
portal-threat-model.md Implement user-engine portal foundation 2026-07-27 22:47:39 +02:00
postgres-durable-store-consumer-requirements.md test: add provider postgres conformance 2026-06-16 07:33:34 +02:00
prepared-accounts-and-entitlement-claims.md feat: implement onboarding journeys 2026-06-15 23:24:59 +02:00
registration-and-access-management-ui.md feat: add registration access ui contracts 2026-06-15 23:39:34 +02:00
registration-identity-and-factor-model.md feat: add registration access ui contracts 2026-06-15 23:39:34 +02:00
registration-scenario-and-security-conformance.md test: add registration security conformance 2026-06-15 23:59:45 +02:00
release.md Finalize user-engine contracts and operability 2026-05-22 21:45:30 +02:00
scenarios.md test: add registration security conformance 2026-06-15 23:59:45 +02:00
ui-contracts.md feat: add registration access ui contracts 2026-06-15 23:39:34 +02:00