multi-tenancy

Community

Enforce secure, scalable multi-tenant isolation.

AuthorLawrenceWebon
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a standardized approach to enforce tenant isolation and schema separation across services, preventing data leakage between tenants.

Core Features & Use Cases

  • Tenant Context Holder using ThreadLocal to track the current tenant
  • JWT-based tenant extraction filter to set and clear TenantContext per request
  • Dynamic schema selection and optional Row-Level Security (RLS) for data access
  • Kubernetes namespace isolation and per-tenant network policies

Quick Start

Configure your application to extract the tenant_id from JWT and consistently apply TenantContext for all data access calls.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: multi-tenancy
Download link: https://github.com/LawrenceWebon/eins/archive/main.zip#multi-tenancy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.