Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
docs: add sub-organizations documentation
IgorHorta02f98de1b7ea
diff --git a/docs/documentation/guides/organization-structure.mdx b/docs/documentation/guides/organization-structure.mdxindex 8693c8c1cb..7e39dbb27a 100644--- a/docs/documentation/guides/organization-structure.mdx+++ b/docs/documentation/guides/organization-structure.mdx@@ -21,6 +21,13 @@ Infisical is designed to provide comprehensive, centralized, and efficient manag- In **self-hosted** setups, you can create multiple organizations (e.g., one for each department or business unit).- In **cloud-hosted deployments**, it's standard to use a single organization.+### 1.5 Sub-Organizations (Enterprise)++- **Definition**: [Sub-organizations](/documentation/platform/organization#sub-organizations) are optional child organizations within a root organization, allowing large enterprises to segment by business unit or team.+- **Hierarchy**: Sub-organizations sit between organizations and projects. Each sub-org can have its own projects, groups, and machine identities.+- **Resource Sharing**: Users, groups, and machine identities from the root organization can be added to sub-organizations. Resources flow downward only and must be explicitly added.+- **Limitations**: Authentication (SSO, SCIM, LDAP) and billing are configured at the root organization level only.+### 2. Projects- **Definition and Role**: [Projects](/documentation/platform/project) are the highest-level construct within an [organization](/documentation/platform/organization) in Infisical. They serve as the primary container for all functionalities.@@ -33,7 +40,7 @@ Infisical is designed to provide comprehensive, centralized, and efficient manag- **Purpose**: Environments are designed for organizing and compartmentalizing secrets within projects.- **Customization Options**: Environments can be tailored to align with existing infrastructure setups of any project. Default options include **Development**, **Staging**, and **Production**.-- **Structure**: Each environment inherently has a root level for storing secrets, but additional sub-organizations can be created through [folders](/documentation/platform/folder) for better secret management.+- **Structure**: Each environment inherently has a root level for storing secrets, and additional hierarchical layers can be created through [folders](/documentation/platform/folder) for better secret management.### 4. Foldersdiff --git a/docs/documentation/platform/organization.mdx b/docs/documentation/platform/organization.mdxindex 83b3d19618..695451a5eb 100644--- a/docs/documentation/platform/organization.mdx+++ b/docs/documentation/platform/organization.mdx@@ -13,6 +13,105 @@ Within an organization, you can create any number of projects—each tied to a s+## Sub-Organizations++<Info>+ Sub-organizations is a paid feature. If you're using Infisical Cloud, then it+ is available under the **Enterprise Tier**. If you're self-hosting Infisical,+ then you should contact [email protected] to purchase an enterprise license+ to use it.+</Info>++Sub-organizations allow large enterprises to create autonomous child organizations within a parent (root) organization. Each sub-organization operates like a regular organization—with its own projects, members, and settings—while sharing authentication and billing with the root organization.++### When to Use Sub-Organizations++Sub-organizations are ideal when you need to:++- **Segment by business unit**: Give departments (Engineering, Sales, Marketing) independent project spaces+- **Delegate administration**: Allow team leads to manage their own organization without root-level access+- **Maintain clear boundaries**: Keep projects and resources isolated between teams while sharing a common user directory++### Key Concepts++**Root Organization**: The parent organization where authentication (SSO, SCIM, LDAP) and billing are configured. All users exist at this level.++**Sub-Organization**: A child organization that can have its own projects, groups, and machine identities. Resources from the root organization can be added to sub-orgs, but resources created in sub-orgs cannot be accessed from the root or other sub-orgs.++<Note>+Currently, only one level of nesting is supported: root organization → sub-organizations. Sub-organizations cannot create their own sub-organizations.+</Note>++### Resource Model++Resources from the root organization (users, groups, machine identities) can be added to sub-organizations, but resources never flow upward. Each sub-organization maintains its own isolated set of projects and app connections.++Resources must be **explicitly added** to a sub-organization before they can be used within it.++<Warning>+The following can only be configured at the root organization level:+- Authentication (SSO, SAML, OIDC, LDAP)+- User provisioning (SCIM)+- Billing and subscription management+- GitHub organization sync+</Warning>+++### Example Structure++```mermaid+graph TD+ subgraph Root ["Acme Corp (Root Organization)"]+ Auth["SSO / SCIM / Billing"]+ Users["Users & Groups"]+ RootProj["shared-services (Project)"]+ end++ subgraph SubEng ["Engineering (Sub-Organization)"]+ EngProj1["backend-api (Project)"]+ EngProj2["frontend-app (Project)"]+ end++ subgraph SubSales ["Sales (Sub-Organization)"]+ SalesProj["crm-integration (Project)"]+ end++ Root --> SubEng+ Root --> SubSales+ Users -.->|Can be added| SubEng+ Users -.->|Can be added| SubSales+```++In this setup:+- All employees authenticate via Acme Corp's SSO configuration+- The Engineering team manages their own projects independently+- Engineering admins can add users from the root org to their sub-org+- Sales cannot access Engineering's projects (and vice versa)+- The `shared-services` project remains at the root organization level++### Creating a Sub-Organization++++1. Navigate to **Organization Settings** → **Sub-Organizations**+2. Click **Create Sub-Organization**+3. Enter a name (this becomes the slug used in API calls)+4. You are automatically assigned as Admin of the new sub-organization++++### Adding Resources to a Sub-Organization++To use root organization resources in a sub-organization:++1. Switch to the sub-organization+2. Go to **Access Control** → **Users**, **Groups**, or **Machine Identities**+3. Click **Add from Organization** and select the resources to include++++Once added, these resources can be assigned to projects within the sub-organization.+## ProjectsThe _Projects_ tab shows a list of projects that you have access to.diff --git a/docs/images/platform/organization/sub-org-add-resources.png b/docs/images/platform/organization/sub-org-add-resources.pngnew file mode 100644index 0000000000..d39844bf78Binary files /dev/null and b/docs/images/platform/organization/sub-org-add-resources.png differdiff --git a/docs/images/platform/organization/sub-org-create.png b/docs/images/platform/organization/sub-org-create.pngnew file mode 100644index 0000000000..06b288a83dBinary files /dev/null and b/docs/images/platform/organization/sub-org-create.png differdiff --git a/docs/images/platform/organization/sub-org-list.png b/docs/images/platform/organization/sub-org-list.pngnew file mode 100644index 0000000000..e9161b35c9Binary files /dev/null and b/docs/images/platform/organization/sub-org-list.png differ