selfdriven · ID · KERI & AuthZ

From identity to verifiable authority.

KERI provides a cryptographically verifiable foundation for establishing identity and control. AuthZ determines what an authenticated entity is permitted to do within a particular context.

See how a decision is made Or start with the six-layer stack
KERI

Verifiable identifier and key control

ACDC

Verifiable authority credentials

VCG

Contextual reasoning and authority relationships

AuthZ

Deterministic decisions, formally verifiable in Lean

The premise

Permissions become portable, verifiable authority.

The significant architectural shift is from permissions stored exclusively in application databases to portable, cryptographically verifiable authority evaluated against local policy.

Together, KERI and AuthZ can support identity, authority and delegation without relying entirely on centralised identity providers.

The receiving system still decides.

How a decision is made
Credential AUTHORITY, ISSUED AND HELD Organisation ACDC Agent

Authority as a credential

The holder can present evidence of its authority independently of the system that originally issued it. The receiving system still determines whether to accept that authority.

  • ACDC
  • TEL
  • IPEX
Function SIX INPUTS, ALL MUST HOLD IAR CPT Verify Evaluate Decide

AuthZ as a deterministic function

Authorisation expressed as a function of identity, authority, request, context, policy and time, which lends itself to formal verification.

  • Deterministic
  • Default-deny
  • Lean
Graph TRAVERSE, THEN DECIDE Actor Relationship Authority

Verified Context Graphs

An AuthZ decision becomes a graph traversal and policy evaluation, rather than simply a role lookup.

  • KERI
  • VCG
  • Policy

The stack

Six layers, from key control to evidence.

KERI and AuthZ are complementary components of a decentralised trust architecture. Each layer has one responsibility, and each depends on the one before it.

  1. 01 · KERI

    Verifiable identity and key control

    Autonomic identifiers and their key event logs establish cryptographic control and provenance.

  2. 02 · AuthN

    Authentication of the acting entity

    The request is signed by the acting identifier and is fresh, so it is bound to its sender and cannot be replayed.

  3. 03 · Credentials

    Verifiable attributes, roles and delegated authority

    ACDCs express and chain permissions and delegated authority. The TEL records issuance and revocation.

  4. 04 · AuthZ

    Determining permitted actions

    A deterministic evaluation of identity, authority, request, context, policy and time.

  5. 05 · Enforcement

    Applying authorisation decisions

    Decisions are applied at the interface, with default-deny whenever verification fails.

  6. 06 · Audit

    Recording evidence of decisions and actions

    Each decision and action leaves evidence that can be checked after the fact.

KERI as the root of authority

The primitives authority is built on.

KERI establishes cryptographic control and provenance, while ACDCs can express and chain permissions and delegated authority.

Primitives

What KERI provides for authorisation.

KERI provides several primitives that are particularly valuable for authorisation.

  • AID

    Autonomic Identifier

    A self-certifying identifier, controlled by its keys.

  • KEL

    Key Event Log

    Verifiable history of key control.

  • ACDC

    Authentic Chained Data Container

    Verifiable credentials and claims.

  • TEL

    Transaction Event Log

    Credential issuance and revocation.

  • SAID

    Self-Addressing Identifier

    Cryptographic binding to content.

  • IPEX

    Issuance and Presentation Exchange

    Credential issuance and presentation protocol.

  • dip

    Delegated inception

    Delegated identifier inception.

  • drt

    Delegated rotation

    Delegated identifier rotation.

Proposed KERI-bound AuthZ architecture

From credential to decision.

Authority arrives as a credential, is evaluated by a deterministic function, and is reasoned about within a verified context graph.

Authority as a credential

An illustrative authority credential.

An illustrative application-level payload for an ACDC authority credential: an organisation grants an autonomous agent bounded authority over insurance claims.

This is a proposed semantic payload, not a complete wire-format ACDC.

ACDC · authority payloadIllustrative
{
  "authority": "aid:organisation",
  "subject": "aid:autonomous-agent",
  "scope": {
    "resource": "insurance.claims",
    "actions": ["read", "assess", "approve"],
    "constraints": {
      "currency": "AUD",
      "maximumValue": 5000,
      "jurisdiction": "AU",
      "delegatable": false
    }
  },
  "expires": "2026-12-01T00:00:00Z"
}
AuthZ as a deterministic function

AuthZ = f(I,A,R,C,P,T).

Authorisation can be expressed as a function of six inputs. Given the same inputs, it always returns the same decision.

  • I

    Verified identity

  • A

    Delegated authority

  • R

    Requested resource and action

  • C

    Current context

  • P

    Applicable policy

  • T

    Temporal validity

Deterministic implementation

Every condition must hold.

A deterministic implementation might look like this. Any single failure denies the request.

This lends itself to formal verification using Lean, alongside a Verified Context Graph (VCG) representing the relevant authority and policy relationships.

AuthZ & Lean: proving the decision logic
authz.js · decisionDefault-deny
const authorised =
    identity.verified
    && request.signatureValid
    && request.fresh
    && credential.verified
    && credential.issuerTrusted
    && credential.holderBound
    && credential.delegationValid
    && credential.statusFresh
    && !credential.revoked
    && scope.permits(request)
    && policy.permits(request, context);
KERI and Verified Context Graphs

What each relationship carries.

KERI establishes the verifiability of the actors and credentials within a graph. VCGs provide the semantic and logical structure for evaluating their authority.

  • 01

    Provenance

    Where the relationship came from, and who asserted it.

  • 02

    Conditions

    The constraints under which it holds.

  • 03

    Validity periods

    When it starts, and when it stops applying.

  • 04

    Evidence

    What supports it, verifiable by anyone who evaluates it.

Relationship to existing technologies

Complementary, not exclusive.

These technologies are not necessarily mutually exclusive. KERI and ACDCs could provide verifiable inputs to a Cedar or OPA policy engine, for example.

Established

Access and policy today.

The technologies most systems use now for access, authentication and policy.

  • OAuth 2.0

    Delegated access.

  • OIDC

    Federated authentication.

  • RBAC

    Role-based access control.

  • ABAC

    Attribute-based access control.

  • Cedar / OPA

    Policy evaluation. A natural place for KERI-verified identity and ACDC authority to arrive as inputs.

Verifiable

What this architecture adds.

Verifiable identity, verifiable authority, contextual reasoning and verified decision logic.

  • KERI

    Verifiable identifier and key control.

  • ACDC

    Verifiable authority credentials.

  • VCG

    Contextual reasoning and authority relationships.

  • Lean

    Formal verification of decision logic.

Application to selfdriven and entityOS

A potential architecture.

This fits particularly well with the existing selfdriven Digital Interaction Framework, which already describes KERI-bound authorisation scopes.

Component by component

Who is responsible for what.

This would be particularly useful for autonomous systems operating across organisational boundaries.

Security considerations

Identity is not permission.

KERI does not, by itself, establish that an entity is trustworthy or that it has permission to perform a business action.

The architecture must also address

Six things to get right.

Where verifiable authority systems are most likely to fail, and where they need to be strict.

  • 01

    Trusted credential issuers and roots of authority

  • 02

    Revocation propagation and stale credential state

  • 03

    Request binding and replay prevention

  • 04

    Prevention of privilege escalation through delegation

  • 05

    Explicit resource, audience and contextual restrictions

  • 06

    Default-deny enforcement when verification fails

From identity to verifiable authority

Authority-centric security.

The larger opportunity is a transition from identity-centric security to authority-centric security.

Rather than asking

Who is this entity, and what roles have we assigned it?

We ask

Can this entity prove that it has the authority to perform this specific action, in this specific context, at this point in time?

For an economy increasingly populated by autonomous silicon intelligence, that distinction is fundamental.

Technical references

Read the specifications.

KERI and ACDC are Trust over IP (ToIP) specifications. The vLEI is GLEIF's verifiable Legal Entity Identifier.

selfdriven Foundation · Build

Verifiable authority, for human and autonomous interactions.