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
add new sub orgs doc
Maidul Islamc0c6f786c74f
diff --git a/docs/docs.json b/docs/docs.jsonindex db45dc7582..812fdc60f4 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -43,7 +43,13 @@{"group": "Platform Reference","pages": [- "documentation/platform/organization",+ {+ "group": "Organization",+ "pages": [+ "documentation/platform/organization",+ "documentation/platform/sub-organizations"+ ]+ },{"group": "Projects","pages": [diff --git a/docs/documentation/guides/organization-structure.mdx b/docs/documentation/guides/organization-structure.mdxindex 7e39dbb27a..965ef11312 100644--- a/docs/documentation/guides/organization-structure.mdx+++ b/docs/documentation/guides/organization-structure.mdx@@ -23,10 +23,13 @@ Infisical is designed to provide comprehensive, centralized, and efficient manag### 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.+- **Definition**: [Sub-organizations](/documentation/platform/sub-organizations) are optional child organizations within a root organization, enabling large enterprises to create autonomous units that operate independently while inheriting common resources from the parent organization.+- **Hierarchy**: One level of nesting is supported (root organization to sub-organizations). Each sub-organization works like a regular organization with its own projects, groups, and machine identities.+- **Resource Sharing**: Users, groups, and machine identities from the root organization can be pulled into sub-organizations. Resources flow downward only and must be explicitly added to a sub-organization before use.+- **Project Ownership**: Projects belong to the organization you're in. In a sub-organization, you only see projects for that sub-organization—not root organization projects.+- **Limitations**: Authentication (SSO, SCIM, LDAP) and billing are configured at the root organization level only. No default sub-organization exists—they are created when needed.++For detailed information on resource inheritance, project ownership, and enterprise examples, see the [Sub-Organizations documentation](/documentation/platform/sub-organizations).### 2. Projectsdiff --git a/docs/documentation/platform/organization.mdx b/docs/documentation/platform/organization.mdxindex 1e82e95b06..9747f11bcf 100644--- a/docs/documentation/platform/organization.mdx+++ b/docs/documentation/platform/organization.mdx@@ -1,5 +1,5 @@----title: "Organizations"+title: "Overview"description: "Learn more and understand the concept of Infisical organizations."---@@ -15,80 +15,12 @@ Within an organization, you can create any number of projects—each tied to a s## Sub-Organizations+Large enterprises may need to create [sub-organizations](/documentation/platform/sub-organizations) to segment by business unit, delegate administration, and maintain clear boundaries between teams. Each sub-organization works like a regular organization with its own projects and settings, while sharing authentication and billing with the root organization.+<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.+ Sub-organizations is a paid feature available under the **Enterprise Tier**.</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 inherited 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.--### Example Structure--```mermaid-graph TD- Root["Acme Corp (Root Organization)"]- SubEng["Engineering (Sub-Org)"]- SubSales["Sales (Sub-Org)"]-- Root --> SubEng- Root --> 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)--### Creating a Sub-Organization----1. Click on the **Organization** tab in the header-2. Click **+ New 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/documentation/platform/sub-organizations.mdx b/docs/documentation/platform/sub-organizations.mdxnew file mode 100644index 0000000000..98125780b2--- /dev/null+++ b/docs/documentation/platform/sub-organizations.mdx@@ -0,0 +1,114 @@+---+title: "Sub-Organizations"+description: "Learn how to use sub-organizations to create autonomous units within your organization."+---++<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 you to create child organizations within a root organization. Each sub-organization works like a regular organization, with its own projects, members, and settings, while sharing authentication and billing with the root organization.++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++- **Sub-organizations work like regular organizations.** Visually and functionally, there's little difference.+- **One level of nesting.** Root organization to sub-organizations. Sub-organizations cannot create their own sub-organizations.+- **Authentication at root level only.** SSO, SCIM, and identity configuration happens at the root organization.+- **Resources flow downward.** Users, groups, and machine identities from the root organization can be added to sub-organizations, but must be explicitly added before use.+- **Resources stay where they're created.** Resources in a sub-organization are not visible to the root organization or other sub-organizations.++```mermaid+graph TD+ Root["Root Organization"]+ RootProjects["Root Org Projects"]+ SubOrg1["Sub-Organization A"]+ SubOrg2["Sub-Organization B"]+ SubProjects1["Sub-Org A Projects"]+ SubProjects2["Sub-Org B Projects"]++ Root --> RootProjects+ Root --> SubOrg1+ Root --> SubOrg2+ SubOrg1 --> SubProjects1+ SubOrg2 --> SubProjects2+```++## Resource Inheritance++The following resources from a root organization can be added to sub-organizations:++- **Users**+- **Groups**+- **Machine Identities**++App connections, gateways, and relays are specific to each organization. Each organization (root or sub) manages their own.++## Project Visibility++Projects are scoped to the organization where they are created. This ensures clear boundaries between teams and means users only see projects relevant to their scope of work.++- **In a root organization**: You see only root organization projects+- **In a sub-organization**: You see only that sub-organization's projects++## Working with Users++Users exist at the root organization level where authentication is configured. Sub-organizations can add users from the root organization to grant them access to sub-organization projects.++**In a root organization:**+- Projects can invite any user from the organization+- Projects can provision new users directly via project invite (with appropriate permissions)++**In a sub-organization:**+- Projects can only see users who have been added to the sub-organization+- Users must be added to the sub-organization before they can join projects++## Working with Machine Identities++Machine identities represent services, CI/CD pipelines, or automated processes. They can be created at the root organization level and shared with sub-organizations, or created directly within a sub-organization.++**In a root organization:**+- Projects can link machine identities directly++**In a sub-organization:**+- Root-level machine identities must be added to the sub-organization first+- Sub-organizations can also create their own machine identities++## Working with Groups++Groups let you manage access for multiple users at once. Root organization groups can be shared with sub-organizations, and sub-organizations can also create their own groups.++- Root organization groups can be added to sub-organizations+- Once added, the group is available to all projects in that sub-organization+- Sub-organizations can create their own groups with users or nested groups++## Creating a Sub-Organization++++1. Click on the **Organization** tab in the header+2. Click **+ New 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.