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
style revisions
Adrian Kahalid0a4b0acd115
diff --git a/docs/documentation/platform/access-controls/folder-rbac.mdx b/docs/documentation/platform/access-controls/folder-rbac.mdxindex 8c390cd5bf..08ff820a7b 100644--- a/docs/documentation/platform/access-controls/folder-rbac.mdx+++ b/docs/documentation/platform/access-controls/folder-rbac.mdx@@ -8,32 +8,29 @@ Folder-level access controls assign a role to a user or machine identity on a si<Info>Folder-level access controls are a paid feature.-If you're using Infisical Cloud, then they are available under the **Pro plan**.-If you're self-hosting Infisical, then you should contact [email protected] to purchase a license to use them.+If you're using Infisical Cloud, then they're available under the **Pro plan**.+If you're self-hosting Infisical, contact [email protected] to purchase a license.</Info>## How folder access works-A [project role](./role-based-access-controls) applies everywhere the user or machine identity can reach. Folder access is the exception: you give a single user or machine identity a role on one folder, and inside that folder it **takes precedence** over every role they hold.--Use folder access to:+When you give a single user or machine identity a role on a folder, that role takes precedence over their [project role](./role-based-access-controls). You can use folder access to:- Give someone access to a single folder their project role doesn't reach.- Hold someone to a lower role inside a sensitive folder.- Hand out short-lived access for an incident or a one-off task.-It applies to the **exact folder** you set it on, and nowhere else.+A folder role only applies to the exact folder you set it on.<Warning>- Folder access is **not recursive**. A grant on `/payments` says nothing about- `/payments/keys`. Inside a subfolder, the user or identity falls back to+ Folder access is not recursive. If you have a certain role on `/payments`, the same role doesn't automatically apply to `/payments/keys`. Inside a subfolder, the user or identity falls back towhatever their project roles allow.</Warning>## Folder access roles-Five roles are available, listed here from least to most privileged. Each role includes everything the roles before it allow.+There are five different folder access roles, listed here from least to most privileged. Each role includes everything the roles before it allow.| Role | What it allows || --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |@@ -41,47 +38,44 @@ Five roles are available, listed here from least to most privileged. Each role i| **Read** | Everything in List, plus reading secret values, viewing commit history, generating dynamic secret leases, and subscribing to secret events. || **Edit** | Everything in Read, plus creating, editing, and deleting secrets and secret imports. || **Manage** | Everything in Edit, plus managing secret rotations, dynamic secret root credentials, honey tokens, and secret syncs, including reading the credentials they generate. |-| **Full Access** | Everything in Manage, plus deleting subfolders of this folder and granting or revoking access to it. |--Full Access is scoped to the folder it is granted on. It lets the holder delete subfolders of that folder and manage who else has access to it. It does not let them delete the granted folder itself, because deleting a folder is authorized on its parent.+| **Full Access** | Everything in Manage, plus deleting subfolders of this folder and granting or revoking access to it. This role doesn't grant access to delete the folder itself, because deleting a folder is authorized on its parent. |<Warning>- Folder access permissions **stay with the folder**. Moving or renaming it- carries them to the new path, and deleting it removes them permanently, with- no restore if the folder is recreated.+ If you move or rename a folder, it keeps the same role. Deleting the folder removes the role permanently.</Warning>## Granting folder access<Steps>- <Step title="Open the folder access sheet">- Navigate to your project's Secrets page and select an environment. You can set access on the folder you are currently viewing, or on any folder in the list. To set access on the current folder, click the members icon next to the environment selector.+ <Step title="Open the folder access sheet" titleSize="h3">+ Navigate to your project's **Secrets** page and select an environment. You can set access on the folder you're currently viewing, or on any folder in the list. To set access on the current folder, select the members icon next to the environment selector.- To set access on a folder in the list, hover over its row and click the members icon that appears.+ To set access on a folder in the list, hover over its row and select the members icon that appears.</Step>- <Step title="Review and set access for current members">+ <Step title="Review and set access for current members" titleSize="h3">The **Manage Permissions** sheet lists everyone who can already reach this folder through their project roles. Anyone whose access comes from a project role rather than a grant shows an **Access from project role** selector, and hovering over it names their roles.- Use the dropdown on any row to set their folder role. The same menu adds temporary access and, once a grant exists, removes folder access. Project admins appear as having full access on all folders and cannot be given a folder grant.+ Use the dropdown on any row to set their folder role. The same menu lets you add temporary access or remove access. Project admins appear as having full access on all folders and cannot be given a folder grant.</Step>- <Step title="Add access">- Click **Add Access** and pick the user or machine identity. This list includes project identities who have no access to this folder at all. Choose a role, optionally set a duration under **Temporary access**, then click **Add Access** to save.+ <Step title="Add access" titleSize="h3">+ Select **Add Access** and pick the user or machine identity you want to assign a role to. This list includes project identities who have no access to this folder at all. Choose a role, optionally set a duration under **Temporary access**, then select **Add Access** to save.</Step>- <Step title="Check the result">- A user or identity whose grant changes what their project role would allow is marked **Overrides project role**.+ <Step title="Check the result" titleSize="h3">++ If a user/identity's usual project permissions would change after being granted the folder access role, that user/identity is marked with **Overrides project role**:@@ -99,13 +93,13 @@ Access can be time-bound so you can choose a duration when you add it, or open t<Note>- Full Access **cannot** be temporary. A Full Access holder can grant folder+ Full Access cannot be temporary. A Full Access holder can grant folderaccess to other people, and those accesses would outlive their own expiration.Grant Full Access permanently, or use Manage for time-bound access.</Note>## Reviewing folder access-To see every folder a user or machine identity has been granted access to, go to your project's **Access Control** page and open them. The Folder Access lists each grant with its folder, environment, role, and duration, and lets you change or revoke it.+To see every folder a user or machine identity has been granted access to, go to your project's **Access Control** page and open that user/identity. The Folder Access lists each grant with its folder, environment, role, and duration, and lets you change or revoke it.