Directory Services¶
Directory Services connects Borealis operator login to LDAP, LDAPS, or Active Directory providers. Use it when operators should authenticate with directory credentials while Borealis still controls MFA, role mapping, and site scope.
Add Provider¶
- Open
Access Management > Directory Services. - Select
New Provider. - Fill
Basicconnection settings. - Configure
User / Group Mapping. - Configure
Site Assignmentmappings for non-admin users. - Use
Diagnosticsto test lookup and access. - Save, test, then enable.
Providers stay disabled until they pass connectivity testing.
Configure Trust¶
Use LDAPS when possible. Borealis can use system trust, uploaded CA PEM, or a reviewed/pinned server certificate. Host overrides let the Engine connect to a specific IP while preserving FQDN certificate validation.
Map Access¶
- Admin group DNs grant Borealis Admin.
- User group DNs admit normal Borealis users.
- Site mapping rows assign directory groups to Borealis sites.
- Cached directory users keep Borealis TOTP MFA.
Directory users cannot use local Borealis passwords or passkeys.
Detailed Codex Breakdown
API endpoints¶
GET /api/directory/providers- list providers.POST /api/directory/providers- create provider.PATCH /api/directory/providers/<provider_id>- update or enable/disable provider.DELETE /api/directory/providers/<provider_id>- delete unused provider.POST /api/directory/providers/certificate- fetch LDAPS peer certificate metadata and PEM.POST /api/directory/providers/<provider_id>/test- test connectivity.POST /api/directory/providers/<provider_id>/lookup-user- lookup diagnostics.POST /api/directory/providers/<provider_id>/effective-access- group/site access diagnostics.POST /api/directory/providers/<provider_id>/sync- sync cached users.POST /api/users/<username>/directory-cache- disable or re-enable cached user.
Related documentation¶
Source map¶
- Directory API:
Data/Engine/Containers/api-backend/data/services/API/access_management/directory_services.py - Directory UI:
Data/Engine/Containers/webui-frontend/data/web-interface/src/Access_Management/Directory_Services.jsx - Auth flow:
Data/Engine/Containers/api-backend/data/services/API/access_management/login.py
Runtime behavior¶
- Provider config lives in
directory_providers. - Group role mapping lives in
directory_provider_group_mappings. - Group-to-site mapping lives in
directory_provider_site_mappings. - Directory bind passwords and keytabs are Aegis-protected.
- Directory user sessions are revalidated against cached user state on authenticated requests.