You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Present outbound client identities (mTLS) on Axum #527
#523 added portable outbound client identities (#524): an application declares an identity in [capabilities.outbound.client-identities.<name>] and selects it with OutboundRequest::client_identity(name). Core owns declarations, the host check and errors; each adapter owns its runtime binding. Axum currently rejects identity requests with ClientIdentityError::Unsupported { adapter: "axum" } before any transport work.
Proposed binding
Read each identity's certificate chain, private key and hosts list from operator configuration (file paths or environment), not from the manifest.
Build one reqwest::Client per identity with reqwest::Identity::from_pem, lazily, and reuse it; requests without an identity keep the shared client.
Run core's ClientIdentityHosts check on every hop and bypass any response caching, as on Fastly.
Known limits
None known. Requests without an identity present no certificate, and identities choose per request.
Done when
Identity requests present the configured certificate; requests without one are unchanged.
Missing or invalid material, unlisted hosts and redirects fail with the existing ClientIdentityError reasons before I/O.
Rotation is defined (reload on change or restart) and documented.
outbound-client-identity reports Native for Axum once tests against a local origin that requires client certificates pass; the matrix, docs contract and guide are updated.
Activity