Overview of authentication in Boundary
An auth method is a resource that establishes the identity of a user who wants to access Boundary. Boundary supports JWT, password, OIDC, and LDAP auth methods, each with its own setup and activation steps.
Auth methods contain accounts, which link a set of credentials to an individual user, and managed groups, which group accounts that satisfy criteria you define.
You can configure auth methods at the global or organization scope. Boundary automatically creates a user the first time someone authenticates successfully using a scope's primary auth method.
Auth method types
Boundary supports the following auth method types:
JWT (public preview): Authenticates automated workloads using signed JSON Web Tokens validated against a JSON Web Key Set (JWKS). Use this method for machine-to-machine authentication, such as agents or pipelines.
Password: Authenticates users against credentials that Boundary stores and manages directly. Password auth methods do not require an external identity provider.
OIDC: Delegates authentication to an external OpenID Connect provider, such as Auth0, Okta, or Microsoft Entra ID (Azure AD). This method is commonly used for single sign-on (SSO).
LDAP (Lightweight Directory Access Protocol): Authenticates users against an external directory, such as OpenLDAP or Active Directory.
App token: Authenticates machine-to-machine interactions.
What is a primary auth method?
Each scope has one primary auth method. When a user authenticates successfully with a scope's primary auth method for the first time, Boundary automatically creates a user resource and links it to the resulting account. If a scope's auth method is not primary, an administrator must manually create and link a user to the account before that user can be assigned roles and grants.
Auth method states
JWT, OIDC, and LDAP auth methods have an operational state that controls whether users can authenticate with them and whether unauthenticated users can see them on the login screen. Boundary creates JWT, OIDC, and LDAP auth methods in an inactive state. You must activate them before users can log in. Password auth methods do not have an operational state and are always available for authentication.
inactive: The auth method exists but is switched off. Users cannot authenticate with it, and it is not listed for unauthenticated users. Use this state to create and configure an auth method without affecting users.active-private: The auth method works but is hidden. Users can authenticate only if they know the auth method exists, for example if they have the auth method ID. The auth method is not listed for unauthenticated users. Use this state to test a real login end to end without exposing the auth method to everyone.active-public: The auth method works and is listed for unauthenticated users on the login screen. Use this state for production.
Next steps
To configure an auth method, refer to the following topics:
- Configure JWT authentication
- Configure password authentication
- Configure OIDC authentication:
- Configure LDAP authentication
- Configure app token authentication
To learn how to assign permissions to authenticated users, refer to Permissions in Boundary.