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.

The Workspace Directories tab showing configured directories and their status

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.

Google

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

Directory Setup Guides

Each directory type has its own setup guide with step-by-step instructions:

Directory TypeGuideAuthentication Method
Turbot LocalSet Up Local DirectoryEmail + password (local to workspace)
GoogleSet Up GoogleOAuth 2.0 via Google Workspace
OktaSet Up OktaSAML 2.0
Entra ID (Azure AD)Set Up Entra IDSAML 2.0
OneLoginSet Up OneLoginSAML 2.0
PingIDSet Up PingIDSAML 2.0
AWS IAM Identity CenterSet Up AWS SSOSAML 2.0
LDAP/LDAPSSet Up LDAP/LDAPSGroup sync only (not authentication)

Next Steps