Set Up a Local Directory
In this guide, you will create a new local directory in Guardrails. Local directories are workspace-specific: users authenticate with an email and password stored directly in Guardrails rather than through an external identity provider. Most organizations use local directories as a break glass mechanism alongside their primary SSO directory, ensuring access even if the identity provider is unavailable.
Guardrails supports two types of local directories:
- Local Directory: workspace-specific. Users sign in with a local email and password. Best for break glass accounts and service users.
- Turbot Directory: authenticates via profiles at
guardrails.turbot.com. Users sign in with their Turbot community credentials. Useful when you want a shared identity across multiple workspaces.
Prerequisites
- Signed in with
Turbot/Ownerpermissions at the Turbot (root) level.
Step 1: Open the Directories Tab
Navigate to Workspace > Directories. You'll see a list of all configured directories in your workspace, including the default Turbot Local directory.

Step 2: Choose a Directory Type
Click New Directory and choose a type from the menu. For a local directory, select Local (or Turbot for shared Turbot platform authentication).

Step 3: Fill In the Directory Details
The Create Local Directory form opens.

Fill in the details:
| Field | Description |
|---|---|
| Title | A name for this directory, displayed on the login screen. For example, Emergency Access or Service Accounts. |
| Description | Optional. A note about the directory's purpose. |
| Profile ID Template | The template used to generate the profile ID for users in this directory. The default turbot.local.{{profile.email}} works for most cases. This value cannot be changed after creation. If you want users from this directory to share profiles with another directory, use the same template value in both. |
Click Create. The new directory opens to its detail page with a New status. It is not yet active.

Step 4: Activate the Directory
On the directory's detail page, click Edit, set the Status to Active, and click Update. Once active, the directory appears as a login option on the sign-in screen.
Step 5: Verify the Directory
- Open an incognito or private browser window.
- Navigate to your Guardrails workspace URL.
- Confirm the new directory appears in the login dropdown.
[!TIP] Guardrails recommends maintaining at least two active directories: your primary SSO directory and a local directory for emergency access. If your identity provider goes down, the local directory ensures you can still sign in.
Troubleshooting
| Issue | Solution |
|---|---|
| Directory doesn't appear on the login screen | Verify the directory status is Active on the Workspace > Directories page. |
| Need to change the Profile ID Template | The template is immutable after creation. Delete the directory and create a new one with the correct template. Existing profiles and grants from the old directory will not carry over. |
| Users from two directories should share permissions | Set both directories to use the same Profile ID Template value. When the template resolves to the same value for a user, they share a single profile. |
Next Steps
- Add a Local User: create users in the new directory.
- Create a Break Glass User: full break glass setup including granting Turbot/Owner.
- Secure the Default Admin: change the default admin password.