Architecture Security - thekaveh/atlas GitHub Wiki
8.11. Security, Auth, And Secrets Boundary
Route-specific Kong controls, backend identity validation, application-enforced plugin keys, runtime secrets, and explicitly public or operator-trusted surfaces.
1. Diagram

2. Notes
Kong applies route-specific Basic, key-auth, pass-through, rate-limit, and CORS policies; it does not provide one uniform identity layer. Backend separately validates Supabase JWTs, scoped first-party tokens, and operator tokens. It enforces plugin open|key-auth|inherit modes again at the application boundary. Backend /health, /ready, /metrics, and API-doc routes are public by design. Direct ports and operator-trusted UIs can bypass Kong, so keep those surfaces inside their intended network boundary.
3. Source Files
services/kong/service.ymlservices/supabase/service.ymlservices/backend/service.ymlservices/backend/app/app/backend_identity.pyservices/backend/app/app/main.pybootstrapper/generate_supabase_keys.py