Skip to main content

Multi-Tenant Identity Verification with Kubernetes & Istio

Building a robust, scalable, and secure multi-tenant identity verification microservices architecture is crucial for modern platforms. This guide explores leveraging Kubernetes for orchestration and Istio for service mesh.

Multi-Tenant Identity Verification with Kubernetes & Istio

Contents

In this guide

Jump to the part you need.

Microservices for IdentityImplementing identity verification as a microservice architecture enhances scalability, resilience, and maintainability, allowing for independent deployment and scaling of verification components.

Kubernetes for OrchestrationKubernetes provides the foundational orchestration layer, enabling efficient deployment, scaling, and management of multi-tenant identity microservices while ensuring high availability and resource isolation.

Istio for Service MeshIstio extends Kubernetes with advanced traffic management, policy enforcement, and observability, critical for securing communication and managing complex multi-tenant environments in identity verification.

Didit's AI-Native AdvantageDidit simplifies multi-tenant identity verification with its modular, AI-native platform, offering Core KYC, developer-first APIs, and a no-code console to rapidly build and deploy verification workflows, integrating seamlessly into Kubernetes and Istio environments.

The Challenge of Multi-Tenant Identity Verification

In today's digital landscape, many businesses operate as platforms, serving multiple clients or 'tenants' that each require their own isolated and secure identity verification processes. Building such a system presents significant architectural challenges. You need to ensure data segregation, customized workflows, scalable infrastructure, and robust security—all while maintaining high performance and compliance with regulations like KYC and AML. Traditional monolithic architectures often struggle to meet these demands, leading to complex deployments, maintenance nightmares, and security vulnerabilities. This is where a microservices approach, orchestrated by Kubernetes and enhanced by Istio, becomes invaluable.

Designing a Multi-Tenant Microservices Architecture

A microservices architecture breaks down the identity verification process into smaller, independent services. For instance, you might have separate services for ID Verification (OCR, MRZ, barcodes), Passive & Active Liveness detection, 1:1 Face Match, AML Screening, and Proof of Address. Each service can be developed, deployed, and scaled independently, offering flexibility and resilience. For multi-tenancy, each tenant could have dedicated instances of certain services, or services could be designed to handle tenant-specific configurations and data through careful isolation mechanisms. This modularity is a core principle Didit embraces, offering an open, modular identity layer.

Key considerations for multi-tenancy include:

  • Data Isolation: Ensuring one tenant's data is never accessible by another.
  • Configuration Management: Allowing each tenant to define their own verification rules and workflows.
  • Scalability: Dynamically allocating resources based on tenant demand.
  • Security: Implementing strong authentication and authorization across tenants.

Kubernetes: The Foundation for Scalable Orchestration

Kubernetes (K8s) is the de facto standard for orchestrating containerized applications, making it an ideal choice for a multi-tenant microservices architecture. It provides powerful features for:

  • Resource Isolation: Namespaces in Kubernetes allow logical separation of resources for different tenants or different parts of your application.
  • Automated Deployment and Scaling: Kubernetes can automatically deploy, scale, and manage your microservices, ensuring high availability and efficient resource utilization.
  • Self-Healing: It automatically restarts failed containers, replaces unhealthy ones, and ensures services are always running.
  • Service Discovery: Services can easily find and communicate with each other within the cluster.

For identity verification, where demands can fluctuate rapidly, Kubernetes' ability to scale services like Didit's ID Verification or Age Estimation seamlessly is critical. You can configure horizontal pod autoscalers to automatically adjust the number of pods based on CPU utilization or custom metrics, ensuring optimal performance during peak verification periods.

Istio: Enhancing Security and Control with a Service Mesh

While Kubernetes provides excellent orchestration, managing network traffic, security, and observability across a complex microservices landscape can still be challenging. This is where Istio, a service mesh, comes into play. Istio layers on top of Kubernetes, providing a robust set of features essential for multi-tenant identity verification:

  • Traffic Management: Control traffic flow and API calls between services, enabling advanced routing, retries, and circuit breakers. This is invaluable for ensuring smooth operation and resilience for services like Didit's 1:1 Face Match.
  • Security: Enforce strong authentication and authorization policies (mTLS by default) between services, encrypting all communication and preventing unauthorized access. This is paramount for protecting sensitive identity data handled by AML Screening or NFC Verification.
  • Observability: Gain deep insights into service behavior with rich telemetry, tracing, and logging. This helps in quickly identifying and resolving issues, crucial for maintaining compliance and uptime.
  • Policy Enforcement: Apply fine-grained access control policies based on tenant IDs, user roles, and other attributes, ensuring strict data segregation and compliance.

By using Istio, you can abstract away much of the network complexity from your developers, allowing them to focus on building core identity verification logic, while the service mesh handles the intricacies of secure and reliable communication.

How Didit Helps

Didit is purpose-built for the agentic era, offering an AI-native, developer-first identity platform that seamlessly integrates into modern microservices architectures like those built with Kubernetes and Istio. Our modular architecture allows you to compose verification workflows with plug-and-play identity checks, perfectly aligning with the microservices paradigm. Need to verify an ID document or perform liveness detection? Integrate Didit's ID Verification and Passive & Active Liveness modules. Concerned about compliance? Leverage our AML Screening & Monitoring. Verifying age for restricted content? Our privacy-preserving Age Estimation is ready. Didit's orchestrated workflows, managed through a no-code Business Console or clean APIs, make it incredibly easy to define tenant-specific verification journeys.

Didit stands out with its commitment to developers, offering an instant sandbox and comprehensive public documentation. Our Core KYC offering, pay-per-successful-check model, and no setup fees drastically reduce the barrier to entry, allowing you to rapidly deploy and scale identity verification services for all your tenants. With Didit, you gain structured identity data and automation over manual review, ensuring efficiency and accuracy in your multi-tenant environment. Our platform is global by design, providing robust identity verification capabilities across various geographies, crucial for any multi-tenant platform with an international user base.

Ready to Get Started?

Ready to see Didit in action? Get a free demo today.

Start verifying identities for free with Didit's free tier.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.