Expand description
Helpers used only by the manta HTTP server (handlers + service layer).
app_contextโ per-requestapp_context::InfraContextbundle (backend dispatcher + base URLs + TLS material + optional Vault/k8s URLs). Built bysuper::ServerState::infra_contexton every request.jwt_opsโ extractname,preferred_username, andrealm_access.rolesfrom a bearer JWT without verifying the signature (see the module-level security caveat).vaultโ HTTP client for the HashiCorp Vault used by handlers that need backend secrets (Gitea token, k8s creds).
Modulesยง
- app_
context - Server-side runtime infrastructure context.
- jwt_ops
- JWT decode helpers (relocated to
manta_shared::common::jwt_ops). - vault
- Vault client used by handlers that need backend-specific secrets
(Gitea token for
create_session, Kubernetes credentials for the console and log-streaming handlers).