Managing user identities is one of the most critical—and often, most painful—operational tasks for any growing company. You have on-premise Active Directory, a cloud-based Okta instance for SSO, maybe a legacy LDAP server for an old application, and Google Workspace for collaboration. Each system has its own interface, its own logic, and its own set of scripts.
The result? Your IT and DevOps teams are buried under a mountain of manual tasks. Onboarding a new engineer involves clicking through four different admin panels. Offboarding a departing employee becomes a frantic checklist, hoping no access is left behind. This isn't just inefficient; it's a security risk.
What if you could manage all of it—user provisioning, group memberships, access control, and de-provisioning—the same way you manage your infrastructure? What if you could treat your company's identity lifecycle as code?
This is the promise of Business-as-Code, and it's how we're reimagining directory services.
In a modern enterprise, identity is fragmented. The "single source of truth" is often a myth. This fragmentation leads to predictable problems:
Traditional solutions involve brittle, custom-written scripts for each service, which are hard to maintain and require specialized knowledge. There has to be a better way.
The solution is to move from manual clicks and disparate scripts to a centralized, programmatic approach. At directories.do, we believe the future of identity management is a single, universal API that sits on top of all your existing directory services.
Instead of wrestling with the specific protocols of LDAP, the PowerShell cmdlets for Active Directory, or the REST APIs for Okta, you interact with one simple, intuitive API.
Turn complex identity operations into simple, automated workflows. Consider how easy it is to provision a new user across all necessary systems with a single API call:
import { directories } from 'sdk.do';
// Create a new user in your primary directory
const newUser = await directories.users.create({
firstName: 'Jane',
lastName: 'Doe',
email: 'jane.doe@example.com',
groups: ['engineers', 'product-team'],
attributes: {
employeeId: 'E12345',
costCenter: 'CC-987'
}
});
console.log(newUser);
// { id: 'usr_abc123...', status: 'provisioned' }
This isn't just about creating a user. It's about codifying a business process. This code can be checked into Git, peer-reviewed, and integrated into your existing CI/CD pipelines or HRIS workflows. You've just turned a manual, error-prone checklist into a reliable, automated, and version-controlled operation.
While user onboarding is a common pain point, a true Business-as-Code approach covers every stage of an employee's journey. With a unified identity API, you can automate:
Adopting an API-driven approach to something as critical as identity management naturally brings up questions about compatibility and security. Here’s how we address them.
Our platform is designed for universal compatibility. It can connect to any standard directory service, including Microsoft Active Directory, Azure AD, LDAP, Okta, Google Workspace, and more, providing a unified API layer on top. You don't need to rip and replace your existing infrastructure.
Security is paramount. directories.do securely stores encrypted credentials and uses them to execute agentic workflows on your behalf. All API traffic is encrypted, and access is controlled via API keys, ensuring your identity infrastructure remains protected.
Yes. The directories.do API abstracts away the complexity of underlying services. You can easily add or remove users from groups, manage group memberships, and implement Role-Based Access Control (RBAC) with simple API calls, without needing to be an expert in the underlying service.
Stop drowning in admin panels and fragile scripts. It's time to bring the principles of modern software development—automation, versioning, and reliability—to your company's identity management. By treating your directory services as a programmable layer, you empower your teams to move faster, reduce human error, and dramatically improve your security posture.
Ready to reimagine your directory services? Visit directories.do to learn more and see the power of a unified identity API in action.