Blog

Axum Gateway Auth Boundaries Without Secrets

Where identity stops and routing begins in a Rust control-plane edge.

By Pouya GhourchianiGhourchiani

engineering

Direct answer

Put authentication at the gateway edge, keep handlers ignorant of credential storage, and never put secrets in repos or docs.

Boundaries

  • Edge: verify token/session, attach principal
  • Core: authorize by role/capability only
  • Ops UI: talk to public contracts, not raw DB