Skip to content

Enterprise Overview

Madhyamas Enterprise extends the open-source debugging proxy with authentication, role-based access control, audit logging, user management, performance monitoring, licensing, and multi-instance deployment. These features are designed for teams, production environments, and compliance-sensitive deployments.

Enterprise login screen

When to Use Enterprise

ScenarioWhy Enterprise
Team deploymentsMultiple developers share one proxy instance with per-user accountability
Production/shared debuggingProxy is exposed beyond loopback and needs access control
Compliance environmentsAudit trails of who exported traffic or changed configuration
CI/CD integrationLong-lived API keys for automated pipelines
Multi-instance scalingLoad-balanced instances sharing a single database and CA
Enterprise SSOIntegrate with Okta, Auth0, Keycloak, Active Directory via OIDC/LDAP/SAML

For single-developer, loopback-only usage, the OSS tier is sufficient — the proxy works without auth by default.

OSS vs Enterprise Feature Matrix

FeatureOSSEnterprise
HTTP/HTTPS proxy & TLS interception
Traffic recording & sessions
Breakpoints, mocks, rewrites, throttle
Block list & focus hosts
Scripting (JavaScript) & plugins (WASM)
gRPC, WebSocket, SOCKS5, upstream proxy
HAR import/export, auto save, mirror
CLI (159 subcommands) & MCP (146 tools)
SQLite storage
PostgreSQL storage
JWT + API key authentication
User management (CRUD, roles)
Role-based access control (RBAC)
Audit logging (hash-chained, persistent)
Performance metrics dashboard
License verification (Ed25519)
Multi-instance deployment (Redis pub/sub)
Shared CA certificate
License seat coordination
SSO (OIDC, LDAP, SAML, header-based)
MFA (TOTP)
Cluster metrics & instance registry
Configuration import/export
Enterprise admin panels (web UI)
Enterprise CLI commands
Enterprise MCP tools

How to Enable Enterprise

Enterprise is enabled at build time via the enterprise Cargo feature (included by default) and at runtime via CLI flags.

Build

bash
# Enterprise (default)
cargo build --release -p madhyamas

# OSS (no enterprise features)
cargo build --release --no-default-features -p madhyamas

Runtime

bash
madhyamas \
  --database-url postgres://madhyamas:password@localhost:5432/madhyamas \
  --enable-auth \
  --jwt-secret your-secret-key \
  --admin-username admin \
  --admin-password your-secure-password \
  --license-file /path/to/license.json

See Getting Started with Enterprise for a complete setup guide.

Enterprise Documentation Sections

SectionAudienceDescription
Getting StartedOperatorsFirst-run setup, database, admin bootstrap, license installation
AuthenticationAdmins, DevelopersJWT, API keys, SSO (OIDC/LDAP/SAML), MFA, proxy auth
User ManagementAdminsCreating, editing, deleting users; role assignment; password reset
Role-Based Access ControlAdminsRoles, permissions, resource types, enforcement
Audit LoggingAdmins, ComplianceEvent types, hash chain, querying, export, compliance
Performance & MonitoringAdmins, OperatorsMetrics dashboard, cluster metrics, health checks
LicensingAdmins, OperatorsLicense installation, seat management, renewal, pricing
Multi-Instance DeploymentOperators, DevOpsDocker Compose, nginx, PostgreSQL, Redis, K8s, shared CA
ConfigurationOperatorsAll enterprise CLI flags, env vars, production checklist
CLI & MCP ToolsDevelopers, AdminsEnterprise CLI commands, MCP tools, authenticated agent access

Admin Panels

The web UI includes six admin panels accessible from the navigation rail:

PanelPurpose
UsersManage user accounts, roles, and status
Audit LogView, filter, and export audit events
MetricsReal-time performance and cluster metrics
LicenseView license details and seat usage
API KeysCreate, manage, and revoke API keys
InstancesView active instances in a multi-instance cluster

Enterprise user management panel

See Also

Released under the MIT OR Apache-2.0 License.