Skip to main content
Folder-level access controls assign a role to a user or machine identity on a single folder. Inside that folder, the grant replaces whatever their project roles would otherwise allow, so it can widen access or narrow it.
Folder-level access controls are a paid feature.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.

How folder access works

When you give a single user or machine identity a role on a folder, that role takes precedence over their project role. 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
A folder role only applies to the exact folder you set it on.
Folder access isn’t 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 to whatever their project roles allow.

Folder access roles

There are five different folder access roles, listed here from least to most privileged. Each role includes everything the roles before it allow.
If you move or rename a folder, it keeps the same role. Deleting the folder removes the role permanently.

Granting folder access

1
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 Manage Access at the right end of the folder path, above the secrets table.Open folder access from the environment viewTo set access on a folder in the list, hover over its row and select the members icon that appears.Open folder access from a folder row
2
Review the Manage Permissions sheet. The list shows users and machine identities with folder grants or access through their project roles. To override project access in this folder, open the role menu with the Project badge and choose a folder role.Manage Permissions sheetTo change an existing grant, open the row’s role menu, then open the current role’s submenu and choose a new role. Project admins have full access on all folders and can’t receive a folder grant.Folder role dropdown
3
Search for a user or machine identity, or expand No Access. Select Grant Access beside the member, then choose a role. Changes save automatically.Grant folder access from search resultsIf you can add project members, the In Organization, Not in Project subsection also lists organization members outside the project. Granting access from this subsection adds the member to the project with the No Access project role before granting folder access.
4
Confirm that the member appears in the access list with the role you chose. If the grant replaces access from a project role, the row shows an Override badge.

Setting temporary access

To set an expiration, open an existing folder grant’s role menu and select Add Temporary Access or Edit Temporary Access. Enter a duration, such as 4h, then select Apply. Set a duration in the Temporary Access dialog The row shows the time remaining. Once the grant expires, the user or machine identity falls back to their project roles.
Full Access can’t be temporary. A Full Access holder can grant folder access to other people, and those accesses would outlive their own expiration. Grant Full Access permanently, or use Manage for time-bound access.

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 that user/identity. The Folder Access lists each grant with its folder, environment, role, and duration, and lets you change or revoke it. Folder access on a user's detail page