Part 1: The Datastore
Back in the year 2000, the best option available for Identity and Access Management (IAM) was OLTP databases. They served the purpose well, despite their limitations. They were particularly poor at geo-fencing, data sharding, and scalability. Those that managed to perform decently required a team of skilled database administrators to maintain, involving extensive server racks and sophisticated replication setups.
The Evolution to NoSQL
The emergence of NoSQL brought a new language, incompatible with ANSI-SQL. While convenient for storing documents or key-value pairs, NoSQL was not optimal for write operations and complex joins. Much of the business logic had to migrate from SQL stored procedures to worker processes, leading to issues like data inconsistency, lack of guaranteed transaction retries, and potential transaction loss events. These limitations were tolerable for online stores but unacceptable for IAM solutions.
The Rise of Graph Databases
About a decade ago, Graph Databases began to gain traction, with some backed by major technology firms (FAANG). They matured significantly and now offer advantages from both OLTP and NoSQL worlds. Graph Databases can store JSON blobs, update internal references swiftly (like group memberships), and provide some degree of data sharding and replication.
However, Graph Databases face challenges with GDPR compliance, geo-fencing, and private clouds. Many enterprises operate in both government and public clouds, often needing separate instances for different countries. This requirement introduces the need to reference objects in other databases, similar to foreign security principals in Active Directory Domain Services (AD DS) that point to users in other forests.
Graph Databases for IAM
Graph Databases are highly effective for storing not only identities but their holograms as well. These holograms can represent different states of an object, such as escrowed-export, pending-import, synchronized, unapplied-export, and unconfirmed-export holograms. Microsoft Identity Manager (MIM) was pioneering in using such holograms, contributing to its long-lasting presence in the market.
领英推荐
Benefits of Holograms (and delayed operations) in IAM:
Visualizing the Metaverse Schema
A basic metaverse schema with nodes and holograms includes:
Other elements, such as role and application holograms, various relationship types, and business roles, are not depicted but are integral to a comprehensive metaverse schema.
Side note: some IAM system are so good in data synchronization and JML workflows, that are often used as a CMDB-store or a ticketing system. Graph DBs do support that natively.
Let’s visualize one Application (SAP ER2), one role (Treasurer), one account (jdoe@), one person (John Doe) and one employee record (Doe, John):
?
Time-Based Assignments
Graph Databases support time-based assignments. For instance, assigning the role of Treasurer to an account with specific start and end dates can be done using queries. This functionality is essential for fetching active authorizations based on the membership's active status.
Sample Graph-QL query:
MERGE (Treasurer)-[:MEMBER {NOT_BEFORE:'2024-01-01', NOT_AFTER:'2024-09-01'}]->(JDoe)
Market Options and Performance
There are numerous commercial Graph Databases available, with varying performance capabilities and support for cross-instance referencing. The choice of a suitable database often depends on performance requirements and the ability to reference objects across different instances.
By integrating Graph Databases and leveraging their capabilities, modern IAM solutions can achieve a new level of efficiency and effectiveness, meeting the stringent demands of today’s enterprises.
Next: Part 2: Connectors
Engineering Manager | Microsoft | Identity Management Expert
1 个月A book containing all 15 parts: https://a.co/d/i8ibR71
Engineering Manager | Microsoft | Identity Management Expert
1 个月Part 14: https://www.dhirubhai.net/pulse/part-14-future-trends-identity-management-years-eugene-sergeev-nz4ff/
Engineering Manager | Microsoft | Identity Management Expert
2 个月Part 13: https://www.dhirubhai.net/pulse/part-13-identity-management-era-ai-llms-eugene-sergeev-xswyc/
Engineering Manager | Microsoft | Identity Management Expert
2 个月Part 12: https://www.dhirubhai.net/pulse/part-12-how-deliver-iam-solutions-while-keeping-everyone-sergeev-1amvc/
Engineering Manager | Microsoft | Identity Management Expert
2 个月Part 11: https://www.dhirubhai.net/pulse/part-11-what-gaps-current-identity-management-eugene-sergeev-4iosc/