# What is did:web?

> 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.

Explainer by Boston Identity, 2026-11-14. 6 min read. https://insights.bostonidentity.com/glossary/did-web

- What it is: standard
- Defined by: W3C-CCG method specification, a proposal
- Who it's for: Teams accepting agent or partner identifiers

## 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 [S1 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 Method-specific identifier]. 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 Target system] [S1 Authentication and Authorization].

Think of it like this: It works like the phone number on a company's own contact page: you trust the number because of where you found it. The comparison stops at change. Whoever can edit the page can swap the number, and a caller who looks it up tomorrow has no way to tell.

Not the same as: 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 Target system].

## 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: The verifier never talks to the owner: it rebuilds a web address from the identifier and trusts the file it finds there.]

1. **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 Create (Register)].
2. **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 Read (Resolve)].
3. **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 Read (Resolve)].
4. **The verifier checks the document's identifier.** The verifier must confirm that the ID inside the document it received matches the did:web identifier it set out to resolve [S1 Read (Resolve)]. The specification's example document lists the public keys and says which of them may be used for authentication [S1 Examples].
5. **The owner changes or removes the file.** To update the DID the owner edits did.json, for example to add a new verification key. The identifier stays the same while the contents of the document change [S1 Update]. To deactivate the DID the owner removes the file or stops making it publicly available [S1 Deactivate (Revoke)].

## 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 [BI-FIND-2026-1388](https://insights.bostonidentity.com/ref/BI-FIND-2026-1388). 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 [BI-FIND-2026-1391](https://insights.bostonidentity.com/ref/BI-FIND-2026-1391). The authors state the cost in their privacy section: the identifier "intentionally makes one agent linkable across its runtime platforms" [BI-FIND-2026-1391](https://insights.bostonidentity.com/ref/BI-FIND-2026-1391).

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 [BI-FIND-2026-0731](https://insights.bostonidentity.com/ref/BI-FIND-2026-0731). 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 [BI-FIND-2026-0640](https://insights.bostonidentity.com/ref/BI-FIND-2026-0640). 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 [BI-FIND-2025-0130](https://insights.bostonidentity.com/ref/BI-FIND-2025-0130).

The choice is contested. The IETF's Agent Name Service moved from DIDs to domain names in its April 2026 revision [BI-FIND-2026-0640](https://insights.bostonidentity.com/ref/BI-FIND-2026-0640). OpenA2A also shows what the identifier leaves unsaid: nothing in the identity says which person or company the agent acts for [BI-FIND-2026-0731](https://insights.bostonidentity.com/ref/BI-FIND-2026-0731). 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 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 [S1 Update].
- Compared with 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 DID Document Integrity Verification].

## 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 Authentication and Authorization].
- 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 DNS Security Considerations].
- Lookups can be watched. The DNS provider can track every resolution, and the web server can track each time the document is fetched [S1 DNS Privacy Considerations].
- 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 Optional Path Considerations].
- 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 In-transit Security].
- 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 [BI-FIND-2026-0731](https://insights.bostonidentity.com/ref/BI-FIND-2026-0731).

## What should a security leader ask?

1. Which of our services accept did:web identifiers today, and from which domains?
2. Who can write to the web path that serves our own did.json, and is every change to it logged and reviewed?
3. 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?
4. Do the resolvers we run use DNS over HTTPS, and do they check DNSSEC?
5. Does this vendor's agent identifier say who the agent acts for, or only which domain published its keys?

## Sources

- [S1] [did:web Method Specification](https://w3c-ccg.github.io/did-method-web/) (W3C Credentials Community Group, Proposal, as fetched 14 November 2026)

## Evidence

- [BI-FIND-2026-1388](https://insights.bostonidentity.com/ref/BI-FIND-2026-1388): The 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. (from "An agent-evidence draft no longer checks every actor in a delegation chain before a service admits a call")
- [BI-FIND-2026-1391](https://insights.bostonidentity.com/ref/BI-FIND-2026-1391): The 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." (from "An agent-evidence draft no longer checks every actor in a delegation chain before a service admits a call")
- [BI-FIND-2026-0731](https://insights.bostonidentity.com/ref/BI-FIND-2026-0731): What 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. (from "OpenA2A's protocol proves an agent holds a key and scores its behaviour, but never says who it works for")
- [BI-FIND-2026-0640](https://insights.bostonidentity.com/ref/BI-FIND-2026-0640): KYA-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. (from "DIF's agent spec names every AI agent by a DID; the IETF's Agent Name Service switched to domain names")
- [BI-FIND-2025-0130](https://insights.bostonidentity.com/ref/BI-FIND-2025-0130): Applied 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. (from "A Tsinghua blockchain design for AI agents backs its defense claims with a table and reports no attack run")

---

© 2026 Boston Identity LLC. All rights reserved. Published by Boston Identity LLC.
Quote up to 100 words with the credit "Boston Identity, IAM Insights" and a link to https://insights.bostonidentity.com/glossary/did-web as the source. Claim numbers may be cited freely. Training, fine-tuning and text-and-data-mining use of this page is permitted.
Terms: https://insights.bostonidentity.com/terms · How to cite: https://insights.bostonidentity.com/cite
