Language

Digital Trust

Introduction to KERI & vLEI

Ajay Jadhav 8 min read

Most digital identity systems begin with one question: who gives the identifier? KERI begins with a different question. What if an identifier did not need anyone to give it?

This is not just an idea on paper. Key Event Receipt Infrastructure (KERI) is an open specification for identifiers that prove their own control using cryptography. There is no registry, certificate authority, or ledger that has to act as the referee. The verifiable LEI, or vLEI, is where this approach is being used for organisational identity at global scale.

At AYANWORKS, most of our work is with W3C Verifiable Credentials, DIDs and OpenID4VC. Even so, KERI comes up often in our conversations with enterprises and governments. When I explain it to a new team, I start with a simple example from key management. That usually makes the rest easier to follow.

The Problem KERI Addresses

Let us take a common DID method. The identifier can be resolved because a ledger, registry, or governance authority keeps a record of it. This is a sound design. But your identifier then depends on that system being available and continuing to serve you.

Now think about keys. Keys can be stolen. Teams rotate them. An organisation may move signing authority from one group to another. In many systems, proving that a new key belongs to you means writing a record to the place that controls the identifier. That can be slow, costly, and hard to audit.

KERI asks a simple question: can we remove that dependence? The answer is yes, if the identifier is created from the keys that control it and every change to those keys is recorded in a signed, ordered log.

Identifiers That Prove Themselves

A KERI identifier is called an Autonomic Identifier, or AID. The identifier string comes from the first public key. If you hold the matching private key, you can prove control of the AID. There is no registration step and no central registry to check before you use it.

Changes to an AID are recorded in a Key Event Log, or KEL. The KEL is a hash-chained list of signed events: inception, rotation, and delegation. Anyone who has the KEL can read it from the start and work out the current valid keys. The order only needs to be clear for that one identifier. KERI does not need a global ledger.

Pre-rotation is the part I find most useful. When an AID is created, the controller also commits to a hash of the next set of keys. Those keys are not shown yet. If today's signing key is stolen, the attacker still cannot take control, because the next valid key was already committed and was never published.

Witnesses receive key events, sign receipts, and keep the KEL available. Watchers keep their own copies and can flag a mismatch. Together, they give the system durability and a way to check key state without turning key management into a consensus exercise.

How a KERI identifier works A controller uses keys to create an AID, records changes in a hash-chained KEL, witnesses and watchers support availability and monitoring, and a verifier checks the KEL and proof. ACDC credentials carry chained authority. AYANWORKS Controller current signing key next key digest committed early AID from initial public key self-certifying KEL hash-chained events Inception Rotation Delegation Verifier resolves AID checks KEL verifies proof Pre-rotation next keys stay hidden until rotation Witnesses sign receipts keep KEL available Watchers monitor KELs flag mismatch ACDC SAID + chain of authority
Figure 1: The AID comes from the first key. Later changes are recorded in the KEL. Witnesses and watchers help others check that record, and a verifier checks the current key state without a central registry.

Where ACDCs Fit

KERI gives us identifiers and key state. We still need a way to make claims about them. Authentic Chained Data Containers, or ACDCs, do that job.

An ACDC is a credential format with chaining built in. Each ACDC and its schema has a Self-Addressing Identifier, or SAID, which is a digest of the content. If the content changes, the digest changes, so tampering is easy to detect. A credential can also point to the credential that authorised its issuer. This creates a clear chain of authority.

If you know W3C Verifiable Credentials, much of this will feel familiar. The emphasis is different, though. W3C VC work has spent a lot of effort on data models and presentation exchange. ACDCs are designed for chained authority and portability within KERI systems. I see them as complementary tools, each useful in its own setting.

vLEI: KERI in Everyday Use

The Legal Entity Identifier, or LEI, is a 20-character identifier for legal entities in the Global LEI System. It answers the question, which organisation is this? The verifiable LEI, standardised as ISO 17442-3, turns that answer into a credential that a computer can verify.

The chain of trust is worth understanding:

  • GLEIF is the root of the ecosystem. It delegates authority to Qualified vLEI Issuers, or QVIs.
  • QVIs issue Legal Entity vLEI credentials to organisations after checking their authorised representatives.
  • Legal entities can then request Official Organizational Role (OOR) credentials from a QVI, and can issue Engagement Context Role (ECR) credentials in some cases, for their people.
vLEI chain of trust GLEIF delegates authority to a Qualified vLEI Issuer, which issues a Legal Entity vLEI credential to an organisation. The organisation holds OOR and ECR role credentials. A verifier follows the chain locally, resolves AIDs through KERI, checks KELs and confirms live proof. AYANWORKS OOBI starts discovery GLEIF root AID; delegates to QVIs Qualified vLEI Issuer issues LE vLEI (ACDC) Legal entity holds LE vLEI (ACDC) OOR official role ECR context role Verifier 1. Follow credential chain 2. Resolve AIDs via KERI 3. Check KEL key state 4. Confirm live proof No call to GLEIF needed bootstrap checks locally
Figure 2: The vLEI chain starts with GLEIF and flows through QVIs to the legal entity and its role credentials. A verifier can check the chain locally, with OOBIs helping the parties find each other's records.

A verifier does not need to call GLEIF. It follows the credential chain, resolves the AIDs through KERI, checks the key state in the KELs, and confirms that each issuer was authorised by the one above it. Out-of-Band Introductions, or OOBIs, help the parties find each other's records. Challenge-response proves that the other side really holds the keys.

This is why vLEI is useful in cross-border trade, supplier onboarding, regulatory filings and payment approval. The relying party gets a quick answer, backed by a chain it can check itself.

What This Means for Builders

KERI is not a direct replacement for the DID methods many of us use today. It needs different infrastructure — witnesses, watchers and OOBI discovery — and more care around pre-rotation and multi-signature control. Teams that treat it as just another DID method may find this out the hard way.

The central idea is still strong: an identifier gets its authority from the person or organisation that controls it, not from a registry. In my conversations with governments and regulated enterprises, I hear this need more often, especially for organisational identity rather than personal identity.

At AYANWORKS, we have already started building solutions on top of KERI for our customers. Our teams are working on KERI-based identity components and connecting them with the credential platforms we already deploy for customers. This is early work, but it is real work. We are learning where KERI fits well and where it needs careful handling.

In my view, that is the right way to approach it. The credential formats may differ, but the questions are the same: who issued this, are they still authorised, and can I verify it without calling them? We are answering those questions across ecosystems, not inside one closed stack.

If you are new to KERI, I would suggest starting with vLEI. It is the most visible production use of KERI today, and it shows the protocol inside a real governance framework. In my experience, that is the quickest way to understand why the design is different.

References

For readers who want to go deeper:

A

Ajay Jadhav

AYANWORKS

Share X LinkedIn

More Articles