hyperlane-plugin-tenant
Multi-tenant resolution and isolation middleware for Hyperlane.
Features
- Extracts tenant identifiers from
X-Tenant-Idheader, Host subdomains (<tenant>.example.com), or path prefixes (/t/<tenant>/...). - Static
XxHash3_64tenant directory plus pluggableTenantResolvertrait. - Prebuilt
400,403, and404wire responses for missing, suspended, and unknown tenants. - Attaches
TenantContextto HyperlaneContext. - Opt-in and transparent (
Status::Continue) when unconfigured (#[hyperlane::request_middleware(-98)]).