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:

Prerequisites

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.

The Workspace Directories tab showing configured directories and their status

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).

The New Directory menu showing Google, LDAP, Local, SAML, and Turbot options

Step 3: Fill In the Directory Details

The Create Local Directory form opens.

Create Local Directory form with Status, Title, Description, and Profile ID Template fields

Fill in the details:

FieldDescription
TitleA name for this directory, displayed on the login screen. For example, Emergency Access or Service Accounts.
DescriptionOptional. A note about the directory's purpose.
Profile ID TemplateThe 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.

The new local directory detail page showing its type, profile ID template, and New status

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

  1. Open an incognito or private browser window.
  2. Navigate to your Guardrails workspace URL.
  3. 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

IssueSolution
Directory doesn't appear on the login screenVerify the directory status is Active on the Workspace > Directories page.
Need to change the Profile ID TemplateThe 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 permissionsSet 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