did:web
did web method
By Boston Identity · Explained · 6 min read
The short answer
did:web is an identifier tied to a web domain. To check a signature made under it, a verifier fetches a file of public keys from that domain over HTTPS, so the identifier is only as trustworthy as the domain.
- What it is
- A standard
- Defined by
- W3C-CCG method specification, a proposal
- Who it's for
- Teams accepting agent or partner identifiers
- In our briefings
- 100by month, last 12
What is did:web?
Suppose a partner's AI (artificial intelligence) agent calls your API and signs its request as did:web:example.com:agents:billing. Your service has never seen that name. To check the signature it fetches a file from example.com and believes whatever keys that file lists. If someone else has changed the file, the signature still checks out and your logs still show the partner's name.
That is did:web, one method for making a Decentralized Identifier (DID), an identifier that resolves to a document listing its public keys.Examples The authors wrote it because DIDs kept on a distributed ledger "face significant practical challenges" in gathering enough trusted data to win adoption, and they propose using "a web domain's existing reputation" instead.S1 The identifier is a domain name secured by a TLS (Transport Layer Security) certificate, with an optional path to the document.S1 The specification presents itself as a proposal.S1
We read the name as the surprising part. For all the word "decentralized", a verifier here trusts the Domain Name System (DNS), a TLS certificate and whoever can write to one web server.S1,S1
Not a blockchain identifier, although DIDs are often met in that setting. did:web was proposed as the alternative to DIDs that target a distributed ledger, and it resolves through DNS and a web server.S1,S1
How does did:web work?
Three parties take part: the owner of a domain, the web server at that domain, and a verifier that has been handed a did:web identifier. The example is did:web:example.com.
Figure steps
- The owner publishes a DID document
- The verifier turns the identifier into a web address
- The verifier fetches the document over HTTPS
- The verifier checks the document's identifier
- The owner changes or removes the file
The verifier never talks to the owner: it rebuilds a web address from the identifier and trusts the file it finds there.
Drawn from the did:web specification's Create and Read steps
Swipe for the full figure →
The owner publishes a DID document
The owner registers a domain name and points it at a hosting service. It then creates the DID document, a JSON (JavaScript Object Notation) file named did.json that includes a suitable key pair. The file goes under the well-known address when it stands for the whole domain, or under a path when the domain will hold many DIDs.S1
The verifier turns the identifier into a web address
The verifier replaces each colon in the part after did:web: with a slash, which gives the domain name and any path. It puts https:// in front. If the identifier has no path it adds /.well-known, and in every case it adds /did.json. So did:web:example.com becomes https://example.com/.well-known/did.json.S1
The verifier fetches the document over HTTPS
The verifier sends an HTTP GET request to that address, using a client that can negotiate a secure HTTPS connection. For the DNS lookup behind the request, the client should use DNS over HTTPS (RFC 8484), so that the identifier being resolved is not tracked.S1
Why does did:web matter now?
An agent-evidence draft on the datatracker of the Internet Engineering Task Force (IETF), dated 19 October 2026, makes a persistent did:web agent identifier one of three required members of the claim it defines.1 The identifier is issued in the domain of a body the draft calls the Agent Registration Authority. It names the agent above the unrelated identities a relying party sees for it from a development cluster, a production cluster and a cloud identity platform.2 The authors state the cost in their privacy section: the identifier "intentionally makes one agent linkable across its runtime platforms".2
Other agent designs lean on the same method. OpenA2A's protocol gives a verifier an identifier that the agent's provider minted under a did:web address.3 KYA-OS, the agent specification from the Decentralized Identity Foundation, says implementations must support did:key and did:web, and it counts no DNS name as an agent's identity.4 A blockchain design for agents from Tsinghua names the agent in its own example with a did:web identifier built from its web domain and Google Cloud project, not with the design's own method.5
The choice is contested. The IETF's Agent Name Service moved from DIDs to domain names in its April 2026 revision.4 OpenA2A also shows what the identifier leaves unsaid: nothing in the identity says which person or company the agent acts for.3 We take from this that an agent identifier arriving at your API may rest on how well someone else guards a web server and its DNS records.
Where does it fit?
| Compared with | How did:web differs |
|---|---|
| did:key | In did:key the identifier is the public key itself, so it needs no server to resolve and cannot be rotated. A did:web identifier needs a domain and a web server, and its keys can change while the identifier stays the same.Update |
| RFC 9943 SCITT architecture | The SCITT architecture is built on Transparency Services and Receipts for signed statements. did:web keeps no such record of its own: the specification says only that a hash of the DID document may be recorded in a trusted or distributed store as an added integrity check.S1 |
What goes wrong?
- The specification sets no authentication or authorization rule for creating, changing or removing the DID document. It leaves implementers to protect the file like any other web resource.S1
- DNS is an attack path. Without DNS over HTTPS an active attacker can intercept the lookup and point the verifier at a malicious server holding the wrong DID document, and a spoofed DNS record can do the same. The specification points to DNSSEC (RFCs 4033 to 4035) against spoofed records.S1
- Lookups can be watched. The DNS provider can track every resolution, and the web server can track each time the document is fetched.S1
- A path narrows what is proved. For did:web:example.com:u:bob, a valid signature proves that whoever controls that file holds the private keys. It does not prove that the operator of example.com holds them.S1
- Parties other than the owner can end a DID: the specification says a domain name registrar or DNS lookup service may perform the delete.S1
- The identifier can be silent on who stands behind it. In OpenA2A's protocol, nothing in the did:web-based identity says which person or company the agent acts for.3
What should a security leader ask?
- 01
Which of our services accept did:web identifiers today, and from which domains?
- 02
Who can write to the web path that serves our own did.json, and is every change to it logged and reviewed?
- 03
When a partner's DID document changes its keys, how do we find out, and do we keep a hash of the version we last trusted?
- 04
Do the resolvers we run use DNS over HTTPS, and do they check DNSSEC?
- 05
Does this vendor's agent identifier say who the agent acts for, or only which domain published its keys?
Sources
- S1
did:web Method SpecificationW3C Credentials Community Group · Proposal, as fetched 14 November 2026
›Evidence: 5 claims from 4 briefings
- 1BI-FIND-2026-1388 · An agent-evidence draft no longer checks every actor in a delegation chain before a service admits a callThe draft defines one claim, aee_evidence, that a WIMSE Workload Identity Token, or any JWT or CWT that identifies an agent, may carry. Three members are required: the Evidence Service expected to hold the agent's audit evidence, a digest of the policy pack it runs under, and a persistent did:web agent identifier. The key binding is optional: without an agent_credential_digest the claim gives "identity-and-policy correlation only". The evidence_service value is "an identifier, not necessarily a retrievable location", and the claim "is not a retrieval protocol": finding and fetching the evidence are left to deployment configuration or another protocol, and a URI in the token is not a trust anchor. The authors say the claim "is a pointer and a commitment, not a proof", and its policy digest "does not prevent downgrade". In their security section, a compromised identity server can point a relying party at a colluding Evidence Service, with the Transparency Service's receipts as the independent check. That check has limits the authors state. A Receipt establishes that a statement was registered; whether it is true, complete and covers all relevant activity is a separate question, so acceptance also depends on trusted Issuers and Evidence Services, on any runtime appraisal and on independent observation. A supplied Bundle is "a snapshot of what its producer chose to include": a missing revocation entry in it "does not establish current non-revocation", and a relying party that needs current acceptance applies its own freshness rules to the status evidence.
- 2BI-FIND-2026-1391 · An agent-evidence draft no longer checks every actor in a delegation chain before a service admits a callThe required logical_agent_id answers a problem the authors set out: a relying party that receives tokens for one agent from a development cluster, a production cluster and a cloud identity platform sees three unrelated sub values. Issued as a did:web identifier in the domain of the Agent Registration Authority, the identifier names the agent above those runtime identities. An Agent Credential Statement, reached through the Evidence Service, supplies the signed mapping to each runtime identity, so that correlation is "verified rather than assumed." In the privacy section the authors state the cost: the identifier "intentionally makes one agent linkable across its runtime platforms."
- 3BI-FIND-2026-0731 · OpenA2A's protocol proves an agent holds a key and scores its behaviour, but never says who it works forWhat a verifier gets from OpenA2A's protocol is proof that the agent holds an Ed25519 key, by a challenge-response with five ordered checks, and an identifier its provider minted under a did:web address. Nothing in the identity says which person or company the agent acts for, and there is no delegation chain: one agent delegating to another signs an assertion and holds a capability string. The post-quantum half of its signatures is a SHOULD, checked only when a credential declares it, and the live challenge never uses it; the transparency log is two paragraphs, run by the same registry that issues the credentials, and the offline verification path skips it.
- 4BI-FIND-2026-0640 · DIF's agent spec names every AI agent by a DID; the IETF's Agent Name Service switched to domain namesKYA-OS names AI agents by decentralized identifiers and nothing else. Implementations must support did:key and did:web; no DNS name, OAuth client id or other identifier counts as an agent's identity, and the agent generates its own key, which no registry or verifier may ever hold. That is narrower than DIF described it in April 2026, when the first conformance level was to use existing OIDC and JWT identifiers; the v1.0 conformance document's Level 1 begins by deriving a did:key. It puts the Decentralized Identity Foundation's agent spec on the opposite side from the IETF's Agent Name Service, which moved from DIDs to domain names in its April 2026 revision.
- 5BI-FIND-2025-0130 · A Tsinghua blockchain design for AI agents backs its defense claims with a table and reports no attack runApplied to Google's A2A protocol, BlockA2A would add signatures from each agent's DID key to A2A's TLS-based authentication, or replace it, and record each message/send and task status update as a blockchain transaction. The authors pitch this as removing central points of trust; we read it as moving them. Their own A2A example names the agent with a did:web identifier built from its web domain and Google Cloud project, not a did:blocka2a one. Emergency revocation needs an admin role: security operators trigger it "using admin credentials". And the paper names no production blockchain or who would run it. The integration is a walk-through, not a deployment, and the theorem that trust carries over has only a proof sketch.
Cited in 10 briefings
Every briefing that discusses this term, newest first.
- A W3C group's draft counts login with another issuer's credential as an issuer-controlled path to account access
Article · · W3C Security Interest Group · Simone Onofri et al. · Sep 8, 2026
- Agent-audit draft now admits a call on the principal and the current agent, as RFC 8693 requires
Draft · · IETF Datatracker · Shameer Thaha et al. · Oct 19, 2026
- An agent-evidence draft no longer checks every actor in a delegation chain before a service admits a call
Draft · · IETF Datatracker · Shameer Thaha et al. · Oct 19, 2026
- Agent URI draft -04 ties an agent's name to a key document and bars OAuth servers from trusting the name alone
Draft · · IETF Datatracker · Yaswanth Narvaneni et al. · Oct 20, 2026
- OpenA2A's protocol proves an agent holds a key and scores its behaviour, but never says who it works for
Draft · · IETF Datatracker · Abdel Fane, OpenA2A · Oct 6, 2026
- DIF's KYA-OS names every AI agent by a DID and makes the verifier check every delegation hop
Article · · Decentralized Identity Foundation (KYA-OS) · Dylan Hobbs et al. · Jul 29, 2026
- A 'decentralized' agent identity draft blocks risky calls when its Registry is down, and did:aip is taken
Draft · · IETF Datatracker · Paras Singla · Apr 17, 2026
- Google DeepMind wants agent authority to narrow at every hand-off, and misreads MCP's scopes on the way
Paper · · arXiv · Nenad Tomašev et al. · Feb 12, 2026
- A Cisco-led agent draft puts the verifiable credential at a public URL, with selective disclosure a SHOULD it does not yet show
Draft · · IETF Datatracker · Jean Diaconu et al. · Feb 6, 2026
- A Tsinghua blockchain design for AI agents backs its defense claims with a table and reports no attack run
Paper · · arXiv · Zhenhua Zou et al. · Aug 2, 2025
Related terms
What appears alongside did:web in the same briefings.
did:keyAuthorization Evidence Chains (EP-AEC) (draft-schrock-ep-authorization-evidence-chain)DSSEJSON Canonicalization SchemeRFC 9942 COSE ReceiptsAudit architecture for agent delegationin-totoRFC 9943 SCITT architecture
Was this explainer useful?
Share this explainer
Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.
Working on an identity problem that involves did:web? Talk to Boston Identity