pub fn build_router(state: Arc<AppState>) -> RouterExpand description
Build the complete Kipuka HTTP router.
§Route structure
/.well-known/est/
cacerts GET (§4.1)
simpleenroll POST (§4.2)
simplereenroll POST (§4.2.2)
fullcmc POST (§4.3)
serverkeygen POST (§4.4)
csrattrs GET (§4.5)
/.well-known/est/{label}/
(same endpoints as above, with per-label CA routing)
/admin/
health GET
health/db GET
health/hsm GET
health/ca GET
cas GET
cas/{id} GET
cas/{id}/health GET
otp/generate POST
otp GET
otp/{id} DELETE
certs GET
certs/{serial} GET
certs/{serial}/revoke POST
/.well-known/est/star/
POST Create STAR order (RFC 8739)
{order_id} GET Fetch current certificate
{order_id} DELETE Cancel STAR order
{order_id}/history GET List certificate series