Directories
Directories are the authentication sources that allow users to sign in to your Guardrails workspace. Each directory connects to an identity provider: Google, an enterprise SAML provider, an on-premise LDAP server, or the built-in local directory. When a user signs in through a directory for the first time, Guardrails automatically creates a profile for them, and that profile is the entity that receives permissions and appears in audit logs.
Getting directories right is foundational. Without at least one properly configured directory, nobody can sign in. And if you rely on a single directory that goes down, you could lock yourself out of the workspace entirely.

Directory Types
Guardrails supports five directory types, each suited to different authentication needs.
Turbot Local
The built-in directory created automatically when your workspace is initialized. It contains the initial [email protected] user and exists primarily for bootstrapping and break-glass access. Because it's local to the workspace, it remains available as long as the Guardrails console is reachable, even if your corporate identity provider is down.
Turbot Local does not support multi-factor authentication (MFA), so it should not be your primary directory for day-to-day access. Think of it as your emergency key: always there, but used sparingly.
Integrates with Google Workspace using a client ID and client secret pair. Users with accounts in your Google domain can sign in directly, and groups are managed through the Google Admin console. This is a straightforward choice if your organization already uses Google Workspace as its primary identity provider.
SAML
Integrates with enterprise identity providers like Okta, Azure AD (Entra ID), Ping Identity, and ADFS. SAML directories are the most popular choice for single sign-on (SSO) because they work with virtually any standards-compliant identity provider. User groups can be passed through SAML assertions, allowing you to map organizational groups to Guardrails permissions.
LDAP/LDAPS
Syncs users and groups from on-premise directory services like Active Directory. This option is useful when your organization hasn't adopted a cloud-based identity provider or when compliance requirements mandate that authentication stays on-premise. LDAPS (LDAP over TLS) encrypts the connection between Guardrails and your directory server.
Turbot.com
Connects turbot.com user profiles to your workspace. When users sign in, they're redirected to guardrails.turbot.com for authentication and then returned to your workspace. This is useful for Turbot-managed environments where user identity is centralized across multiple workspaces.
The Directories Tab
Navigate to Workspace > Directories to see all configured directories in your workspace. Each row shows the directory's Name and Status (Active or Inactive), and cards at the top summarize the directory, user profile, and group profile counts.
Use the search box, the Status filter, and the Sort control to narrow the list.
Click New Directory to add an authentication source. This opens a menu where you select the directory type; you then provide the configuration details specific to that provider (client IDs, SAML metadata, LDAP connection strings, and so on).
Profiles and Login
When a user authenticates through any directory for the first time, Guardrails creates a profile, a record that ties the external identity to the Guardrails workspace. Profiles are the entities that receive permissions. You can't grant permissions to someone who hasn't signed in yet, because no profile exists for them.
A single person can have profiles in multiple directories. For example, an administrator might have a Google profile for everyday work and a Turbot Local profile as a break-glass backup. Each profile is a separate identity within Guardrails, and each can carry its own set of permission grants.
[!TIP] If you're setting up a new workspace, create at least one external directory (SAML or Google) for daily use and keep the Turbot Local directory for emergency access. This gives you redundancy without compromising on authentication security.
Common Use Cases
-
When setting up a new workspace: configure at least two directories for redundancy. A common pattern is SAML for corporate SSO plus Turbot Local for break-glass access. This ensures you can always reach the workspace, even during identity provider outages.
-
When a user can't sign in: check the directory's status on the Directories tab to confirm it's
Active. Then open the User Profiles page and verify the user's profile exists and is also active. If they've never signed in, there won't be a profile yet; confirm they're using the correct directory URL. -
When integrating with corporate SSO: create a SAML or Google directory and configure it with your identity provider's metadata. Once set up, users sign in once through your IdP and are authenticated into Guardrails automatically. Group mappings let you align your existing organizational structure with Guardrails permissions.
Directory Setup Guides
Each directory type has its own setup guide with step-by-step instructions:
| Directory Type | Guide | Authentication Method |
|---|---|---|
| Turbot Local | Set Up Local Directory | Email + password (local to workspace) |
| Set Up Google | OAuth 2.0 via Google Workspace | |
| Okta | Set Up Okta | SAML 2.0 |
| Entra ID (Azure AD) | Set Up Entra ID | SAML 2.0 |
| OneLogin | Set Up OneLogin | SAML 2.0 |
| PingID | Set Up PingID | SAML 2.0 |
| AWS IAM Identity Center | Set Up AWS SSO | SAML 2.0 |
| LDAP/LDAPS | Set Up LDAP/LDAPS | Group sync only (not authentication) |
Next Steps
- Add a Local User: create a user in the Turbot Local directory.
- Profiles: view and manage user profiles across directories.
- Admin Best Practices: secure the default admin account and set up break-glass access.
- Permissions: understand permission levels, types, and grants.