DID in ISBE
The Spain Blockchain Services Infrastructure (ISBE) offers a decentralized identity layer based on the W3C standards of Decentralized Identifiers (DIDs) and Verifiable Credentials. Any entity — private company, public administration, or agency — joining the network can:
- Register its own digital identity as a
did:isbe. - Publish the cryptographic keys with which it will sign credentials and authorizations.
- Build trust chains to issue verifiable credentials.
This section documents the concepts, onboarding flows, and in particular, how to manage the complete lifecycle of a DID through the DID Registry API exposed by ISBE in each environment.
What is a did:isbe?
A did:isbe is a decentralized identifier registered on the ISBE blockchain. It has the following format:
did:isbe:<modelDeploy>:<identifier>
Where:
<modelDeploy>indicates the environment and network (ucfor production,uc-prefor pre-production).<identifier>is the unique identifier of the entity, cryptographically derived.
Each DID resolves to a DID Document, a JSON-LD document describing the public keys of the entity and the associated verification relationships (what can be done with each key: authentication, issuing credentials, etc.).
Example:
did:isbe:uc:z12kVar5p6bD5WCjEJcQ18Zyt8XV
Identity Stack Components
ISBE divides identity management into several services. This section focuses on the first one:
| Service | Purpose | Documented in |
|---|---|---|
| DID Registry API | Register, update, rotate, and resolve DIDs. | This section |
| Trusted Issuer Registry (TIR) | Publish accreditations and trust chains. | Trust chain section |
| Issuer / IDP | Issue verifiable credentials to end users. | Credentials section |
| ISBE Wallet | Store credentials on the user side. | Wallet section |
Structure of this section
- Key concepts — DID, DID Document, keys, verification relationships, trust chain.
- Environments — URLs and trust anchors for PRE and PRO.
- DID Onboarding — Complete tutorial: generate keys, register the first DID Document.
- Key Management — Add, revoke, expire, and rotate verification methods.
- DID Resolution — Query the current or historical state of a DID Document.
- Trust Chain — Generate RTAO, TAO, and TI accreditations.
- DID Registry API Reference — Detailed documentation for each endpoint.
- Troubleshooting — Common errors and how to resolve them.
Before starting, it is convenient to have:
- Access to the ISBE portal for the target environment (with a Legal Representative Certificate or a Verifiable Credential).
- The CLI
isbe-identity-did-geninstalled to generate the DID and, optionally, an EVM transaction signing library (ethers.js,eth_account) to sign transactions returned by the API. - Funds in the EOA associated with your control keys (if you are going to register or modify a DID).
Throughout this section, placeholders such as <PRIVATE_KEY>, <DID>, or <RESPONSE_BODY> are used. Replace them with actual values before running the commands.