Skip to main content
XenonStack

Continuous Security

XenonStack Insights Decentralized Identity: DIDs, Credentials and Web3

| Published | Updated

Decentralized Identity: DIDs, Credentials and Web3
8:21
Decentralized identity: holder controlled wallet, DIDs and DID documents, verifiable credentials, selective disclosure

Key takeaway

  • Decentralized identity lets people hold their own identifiers and credentials. Learn DIDs, verifiable credentials, roles, risks and AI agents.

Decentralized identity is a way of managing digital identity in which a person or organisation holds and controls its own identifiers and credentials, instead of depending on one provider to issue and store them. In the standards that define it, identifiers are called DIDs and the proofs a person presents are called verifiable credentials.

This guide is for security, identity and product leads who keep hearing about Web 3.0 identity and want to know what the standards say, how the pieces fit, and where the approach helps or falls short. It covers the core terms, the three roles, a comparison with centralised identity, risks, and the effect of AI agents.

Why did decentralized identity emerge?

Most people manage many accounts, and each one stores their details in a different place. A single sign-on provider reduces the number of passwords but puts one organisation in charge of a person's identity across many sites, which raises questions about data privacy. Decentralized identity answers by letting the holder carry credentials and decide what to share, a theme that runs through the wider Web3 features and challenges.

What is decentralized identity?

The W3C Decentralized Identifiers (DIDs) v1.0 standard, a W3C Recommendation dated 19 July 2022, says DIDs are a new type of identifier that enables verifiable, decentralized digital identity. It states that they are designed so that they may be decoupled from centralised registries, identity providers and certificate authorities. A person or organisation proves control of a DID without asking an outside party for permission. This matters for Web 3.0 applications, where no single operator should own the user relationship.

What are the key parts of the model?

TermMeaning in the W3C specifications
Decentralized identifier (DID)An identifier that associates a subject with a DID document, allowing trustable interactions with that subject
DID documentA set of data describing the DID subject, including mechanisms such as cryptographic public keys
DID controllerAn entity with the capability to make changes to a DID document
Verification methodA set of parameters that can be used with a process to independently verify a proof
Verifiable credentialA tamper-evident credential whose authorship can be cryptographically verified
Verifiable presentationA tamper-evident presentation of information, built by the holder from one or more credentials

A digital wallet is the usual way a holder stores credentials and creates presentations. The specifications describe data formats and roles; wallet design, and how a given DID method records its data, are choices for the implementer, so check the method you plan to use.

How do issuers, holders and verifiers work together?

The W3C Verifiable Credentials Data Model v2.0 (a W3C Recommendation dated 15 May 2025) describes a three-party ecosystem. Credentials flow from issuer to holder, and presentations flow from holder to verifier.

Two-column diagram comparing a centralised account with decentralized identity, where the holder controls the identifier and shares only what a verifier needs.
RoleWhat it doesExample
IssuerAsserts claims about a subject, creates a credential and sends it to a holderAn employer issuing proof of employment
HolderPossesses credentials and builds presentations, often but not always the subjectAn employee using a wallet
VerifierReceives credentials, optionally inside a presentation, and checks themA service confirming employment before granting access

Privacy is a stated design feature. The specification describes selective disclosure, meaning the holder can make fine-grained decisions about what to share, and unlinkable disclosure, where presentations cannot be correlated between verifiers. It also warns that verifiability does not imply the truth of the claims, so a verifier must still decide which issuers to trust.

How does it compare with centralised identity?

QuestionCentralised accountDecentralized identity
Who holds the identifier?The provider that created itThe subject, through a controller
Who decides what is shared?Mostly the provider and the relying siteThe holder, through selective disclosure
What must a verifier trust?The providerThe issuer and the cryptographic proof
Main riskOne provider outage or breach affects many sitesLost keys, weak wallets and unclear issuer trust

The older label self-sovereign identity is often used for the same idea, and the two terms are not defined consistently across vendors. Rely on the W3C vocabulary above when you write requirements. For organisations, decentralized identity does not replace access management: our guide to identity and access management explains the policies it still needs to plug into. For government systems, NIST SP 800-63-4, published in July 2025, sets requirements for identity proofing, authentication and federation.

What are the limits and risks?

  • Verifying a credential shows who issued it and that it is unaltered, not that the claim is true.
  • Key loss or a compromised wallet can lock a holder out or expose them, so recovery must be designed.
  • Ecosystems need issuers that verifiers trust, which takes governance, not only technology.
  • Interoperability depends on the DID methods and credential formats each party supports.

How do AI agents change decentralized identity?

Agents act on behalf of people and organisations, so they need identities of their own and a way to show what they are allowed to do. Verifiable credentials offer a pattern: an issuer states an agent's authority, the agent presents it, and a verifier checks it before granting access. The open questions are policy and audit, such as which actions an agent may take and how each decision is recorded. For governed context and decision records around such actions, see ElixirData, XenonStack's Context OS. The related shift is covered in our article on the role of AI in Web 3.0.

What should you do first?

  1. Pick one credential your organisation issues or checks, such as proof of employment.
  2. Name the issuer, holder and verifier, and who decides which issuers are trusted.
  3. Choose DID and credential formats from the W3C specifications and test interoperability.
  4. Plan wallet security, key recovery and revocation before launch.
  5. Pilot with one use case, then review privacy and support costs. Related reading: digital twin in Industry 4.0.

To map one decision your agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.

Frequently asked questions

What is decentralized identity?

It is a model in which a person or organisation controls its own identifiers and credentials, rather than relying on one provider to issue and store them. The W3C describes DIDs as enabling verifiable, decentralized digital identity.

What is a DID?

A decentralized identifier is an identifier that associates a subject with a DID document, which holds data such as cryptographic public keys. The W3C designed DIDs so they may be decoupled from centralised registries and identity providers.

What is a verifiable credential?

A tamper-evident credential whose authorship can be cryptographically verified. An issuer creates it, a holder keeps it, and a verifier checks it.

Does decentralized identity protect privacy?

The W3C data model treats privacy as a key design feature and describes selective disclosure, where the holder chooses what to share. Verifiability does not prove a claim is true, and wallet and key security still matter.

Is decentralized identity the same as self-sovereign identity?

The terms overlap and vendors use them differently. When writing requirements, use the W3C terms: DID, verifiable credential, issuer, holder and verifier.

Ready to put AI agents to work? See an ElixirClaw demo: the agentic OS to build, orchestrate and govern AI agents across your enterprise systems.

Table of Contents

dr-jagreet-gill

Dr. Jagreet Kaur

Chief AI Officer, XenonStack

LinkedIn profile

Dr. Jagreet Kaur specializing in Generative AI for synthetic data, Conversational AI, and Intelligent Document Processing. With a focus on responsible AI frameworks, compliance, and data governance, she drives innovation and transparency in AI implementation

Get the latest articles in your inbox

Subscribe Now

Interested in solving your challenges with the XenonStack team?
Get Started

Tell us about you and your priorities so we can prepare the right conversation. It takes about 2 minutes.

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Continue