Privacy-Preserving Identity Attestation for Microservices
This article explores how confidential computing and Didit's identity platform enable robust, privacy-preserving identity attestation for containerized microservices.

Contents
In this guide
Jump to the part you need.
Enhanced Security for MicroservicesConfidential computing provides a hardware-rooted trust anchor, creating a secure execution environment for containerized microservices, protecting data in use from unauthorized access, even from cloud providers or privileged insiders.
Identity Attestation ChallengesTraditional identity management solutions struggle to provide granular, privacy-preserving identity attestation for dynamic, containerized workloads in a zero-trust environment, often introducing performance bottlenecks or increasing attack surfaces.
Didit's Modular ApproachDidit's AI-native identity platform offers a modular, API-driven solution for verifying identities and orchestrating trust, allowing for flexible integration into microservice architectures to attest to the identity and integrity of workloads securely.
Seamless Integration with Confidential ComputingBy combining confidential computing with Didit's advanced identity verification capabilities, organizations can achieve unparalleled levels of privacy and security, ensuring that only verified, legitimate microservices can access sensitive data or perform critical operations, all while benefiting from Didit's Core KYC and no setup fees.
The Imperative for Secure Microservices in Modern Architectures
Microservices have revolutionized software development, offering unparalleled agility, scalability, and resilience. However, this distributed paradigm introduces complex security challenges, particularly concerning identity and trust. Each microservice, often running in containers, needs to establish its identity and prove its integrity to interact securely with other services and sensitive data. Traditional security models, designed for monolithic applications, fall short in this dynamic environment. Attack surfaces expand, and the need for granular, verifiable identity attestation becomes paramount.
In a zero-trust world, every interaction must be authenticated and authorized, regardless of its origin. For containerized microservices, this means not only verifying the identity of the user or client initiating a request but also confirming the identity and trustworthiness of the microservice itself. This is where the intersection of confidential computing and advanced identity verification platforms like Didit becomes crucial.
Confidential Computing: A New Frontier for Data Protection
Confidential computing represents a groundbreaking advancement in data security, protecting data not just at rest and in transit, but also while it's in use. This is achieved through hardware-based Trusted Execution Environments (TEEs), such as Intel SGX, AMD SEV, or ARM TrustZone. Within a TEE, an isolated enclave is created where code and data can execute with integrity and confidentiality guarantees, even from the underlying operating system, hypervisor, or cloud provider. For microservices, this means:
- Data in Use Protection: Sensitive data processed by a microservice within an enclave remains encrypted and inaccessible to unauthorized entities.
- Code Integrity: The integrity of the microservice's code can be cryptographically attested, ensuring that it hasn't been tampered with.
- Hardware-Rooted Trust: Trust is established at the hardware level, providing a strong foundation for security that is difficult to compromise.
While confidential computing provides the secure environment, the challenge remains: how do we attest to the identity of the microservice running within this enclave, and how do we integrate this attestation into a broader security framework? This is where a robust identity platform is essential.
Integrating Privacy-Preserving Identity Attestation
The integration of identity attestation within confidential computing for microservices involves several layers. First, the microservice itself needs a verifiable identity. This could be tied to its deployment pipeline, cryptographic keys, or even specific attributes about its purpose. Second, the confidential computing environment needs to attest to the integrity and authenticity of the microservice's execution. Finally, this attestation needs to be communicated and validated by other services or a central authority in a privacy-preserving manner.
For instance, imagine a microservice handling sensitive financial transactions. Before processing any data, it could leverage confidential computing to prove that its code is untampered. Then, using an identity platform, it could present an attested identity to a downstream AML screening service. Didit's AML Screening & Monitoring product can then verify this attested identity against watchlists and PEP databases, ensuring compliance without exposing the microservice's internal workings or the user's PII beyond what is absolutely necessary.
This multi-layered approach ensures that not only is the execution environment secure, but the entity operating within that environment is also verified, providing unprecedented levels of trust and privacy, especially crucial for highly regulated industries.
Leveraging Didit for Microservice Identity and Trust
Didit, as an AI-native, developer-first identity platform, is uniquely positioned to address the complex identity and attestation needs of containerized microservices within confidential computing environments. Its modular architecture and clean APIs allow for seamless integration into existing microservice ecosystems. Didit's approach offers:
- Composability: Didit's identity primitives are plug-and-play, meaning organizations can compose verification workflows tailored to the specific attestation needs of each microservice.
- Developer-First Experience: With an instant sandbox and public documentation, developers can quickly integrate Didit's capabilities, such as Phone & Email Verification or even 1:1 Face Match for service-to-service authentication, into their microservice deployments.
- AI-Native Automation: Didit's AI-driven platform automates trust decisions, reducing the need for manual review and speeding up the attestation process, which is critical for dynamic microservice environments. For example, verifying the identity of a newly deployed microservice can be automated and instant.
- Global Scalability: Designed for global use, Didit supports various verification methods across 220+ countries and 54 languages, ensuring that identity attestation can be applied consistently across distributed microservice deployments, regardless of geographical location.
By using Didit, organizations can build robust, privacy-preserving identity attestation mechanisms that not only verify the microservice's identity but also orchestrate risk and automate trust decisions throughout the service lifecycle.
How Didit Helps
Didit provides the essential identity layer to complement confidential computing in securing containerized microservices. Our platform offers a comprehensive suite of tools that can be leveraged for privacy-preserving identity attestation:
- ID Verification (OCR, MRZ, barcodes): While primarily for human identity, the underlying technology can be adapted to verify digital 'identities' or attributes associated with microservices, ensuring their provenance.
- Passive & Active Liveness: For scenarios requiring real-time proof of 'aliveness' or genuine operation of a microservice, advanced liveness detection techniques can be applied to its operational state.
- 1:1 Face Match & Face Search: These biometric capabilities can be repurposed for cryptographic identity matching of microservice attributes or keys, ensuring that a microservice is indeed the one it claims to be, preventing impersonation.
- AML Screening & Monitoring: For microservices handling sensitive financial or regulated data, Didit's AML screening can be integrated to ensure that the microservice's operations comply with regulatory requirements, checking against sanctions and PEP lists based on its attested identity.
- Phone & Email Verification: For communication endpoints or internal system notifications, verifying associated contact information adds another layer of trust.
- Modular Architecture & Orchestrated Workflows: Didit's no-code Business Console allows organizations to design complex, node-based verification flows. This means you can create custom workflows that combine confidential computing attestations with Didit's identity checks to build a comprehensive trust score for each microservice. This flexible approach, coupled with Core KYC and pay-per-use pricing, allows businesses to start securing their microservices without upfront costs and scale as needed. Our AI-native engine ensures these workflows are efficient and adaptive, providing real-time trust automation.
Didit's commitment to a developer-first approach, offering an instant sandbox and clean APIs, means integrating these advanced capabilities into your containerized microservice environment is straightforward and efficient. With Didit, you gain a powerful, AI-native partner for building trust in your most critical distributed systems, all without setup fees.
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.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Blog questions
Who writes the Didit blog?
Which topics does the blog cover?
Is the blog available in my language?
Where do I find product updates?
Are these posts legal advice?
How do I find posts on one topic?
Are posts dated?
Do posts link to the docs?
Is the blog the same as the docs?
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.
Your obligations · 3 regions
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.
- 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.
Didit Academy


