Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication layer for the Kipuka EST server.

RFC 7030 §3.2.3 defines several client authentication mechanisms for EST:

  • mTLS — client presents a certificate during the TLS handshake.
  • HTTP Basic (OTP) — username=entity-id, password=one-time password.
  • HTTP Negotiate (GSSAPI) — Kerberos/SPNEGO authentication.

Each EST endpoint declares an authentication policy (AuthPolicy) that the EstAuth extractor enforces before the handler runs. Admin routes use a separate authentication mechanism (see super::routes::admin).

Modules§

cms_auth
CMS message-level authentication for EST (RFC 8295).
gssapi
GSSAPI/Kerberos authentication for EST endpoints.
mtls
mTLS client certificate authentication for EST endpoints.
name_match
Domain name and identity matching for TLS certificates (RFC 6125).
otp
HTTP Basic authentication with One-Time Password for EST enrollment.

Structs§

AuthResult
Result of a successful authentication.
EstAuth
Axum extractor that authenticates EST requests.
OptionalAuth
Axum extractor that allows unauthenticated access.

Enums§

AuthMethod
How a client authenticated to the EST server.
AuthPolicy
Authentication policy for an EST endpoint.