Expand description
Shared application state threaded through axum handlers via Arc<AppState>.
AppState is constructed once at startup and cloned (cheaply, via Arc)
into every axum handler. It holds the parsed config, database pools,
per-CA key material, and optional subsystem state (HSM, OTP, audit).
Structsยง
- AppState
- Top-level application state cloned into every axum handler.
- AppState
Builder - Builder for constructing
AppStateduring server startup. - CaState
- Per-CA key material and issuance policy.