docs/documentation/platform/pam/folders/overview.mdx
Group accounts by who needs access to them. This is the core design principle of Infisical PAM.
If the same 10 people need access to the same 5 databases, put those databases in one folder. If a different team needs access to different databases, create a separate folder for them.
Common patterns:
backend-team, data-engineering, platformengineering, finance, operationscheckout-service, payments, user-authThe right pattern depends on your organization. Folder-level permissions are the primary way to grant access, though you can also assign access directly on individual accounts when needed.
Click **Create**.
Once created, you can start adding accounts to it. But first, you'll probably want to set up who can manage this folder.
Access to a folder is controlled through memberships. You assign users or groups a role, and that role determines what they can do.
| Field | Description |
|-------|-------------|
| **User/Group** | Who you're granting access to |
| **Role** | What they can do (see roles below) |
| **Expires** | Optional expiration date for temporary access |
Click **Add**.
| Role | What they can do |
|---|---|
| Admin | Full control — accounts, folders, sessions, memberships |
| Connector | Launch sessions and connect to accounts |
| Auditor | View audit logs and session recordings |
When you assign a role on a folder, it applies to all accounts inside that folder. This is the main way to grant access — you don't have to set up permissions on each account individually.
For contractors or temporary team members, set an expiration when adding the membership. The access is automatically revoked when it expires — no manual cleanup needed.
You can grant access to individual users or to groups:
Groups are managed at the organization level and can sync from identity providers like Okta or Azure AD.
Now that you have a folder, you'll want to add accounts to it. But before that, you might want to set up templates to define what rules apply to those accounts.
<CardGroup cols={2}> <Card title="Templates" icon="layer-group" href="/documentation/platform/pam/templates/overview"> Define session rules before adding accounts. </Card> <Card title="Accounts" icon="user-lock" href="/documentation/platform/pam/accounts/overview"> Add databases and servers to your folder. </Card> </CardGroup>