ReferenceSequence diagrams
Athena → Kratos admin
Internal admin API call chain
Layers
- Caddy, TLS termination, basic rate-limit.
- Athena middleware, verifies session HMAC, checks role.
- Service layer, encapsulates the Kratos API call (testable in isolation).
- Kratos admin API, no auth, protected by network ACL only.
Why Kratos admin has no auth
Kratos's admin port is on the intranet network only, never publicly exposed (Operate, Network topology). The network boundary is the auth. The host firewall blocks the port from the internet.