Trust registry reference

How to add a trust registry to the Agent Gateway, what you need before you start, and the fields, connection statuses, and actions of a connected registry.

A trust registry connects the gateway to an external authority that determines which agents and issuers are trusted to interact with your surfaces. When a surface receives a request, the gateway queries the assigned registry over a DIDComm connection to check whether the caller’s DID is recognised by that authority.

Use this page to add a registry, monitor its connection state, and confirm reachability before assigning it to a surface.

For conceptual background, see Trust registries.

Adding a trust registry

Before you start

You needWhere it comes from
A trust registryAn Affinidi Trust Registry appliance, deployed through Affinidi Portal. It is available through the Affinidi Radix Early Access Programme: get early access to deploy one.
An OOB invitation URL for your gatewayThe administrator of that trust registry.
A role that can manage trust registriesAdministrator, by default.
A DID MethodWeb (did:web) is the default. Use another method only if the administrator asks for one.

Steps

  1. Go to Connections › Registries and select Add Trust Registry.
Registries tab of the Connections page with no trust registries yet and the Add Trust Registry button
  1. Enter a Name, the DID Method, and the OOB Invitation URL, then select Connect. Description is optional.
Enter Trust Registry Connection Details form with Name, Description, DID Method set to Web (did:web), an OOB Invitation URL, and the Connect button
  1. On Trust Registry Added Successfully!, check the Connection Status. CONNECTED means the registry is ready to use.

Waiting for approval

Some registries approve new connections by hand. The wizard then shows “Setup sent! Awaiting trust registry admin approval.” and the status stays AWAITING APPROVAL until the administrator approves. For other statuses, see Connection statuses.

Allowing your gateway to write records

To register Issuers and record managed agents, the registry’s administrator must also allow your gateway to write records, in the registry’s policy for your gateway. Until then, those writes are refused: the Issuers list shows Registration failed for an Issuer, and a Trust Recorder reports Failed. In a registry that several organisations share, the policy should allow each gateway to write only records under its own DIDs; see Approve each gateway and allow its actions.

What to do next

Fields

FieldEditableDescription
NameYesHuman-readable display name. Appears in Issuer configuration and logs.
DescriptionYesOptional description of the trust registry’s purpose or governance framework.
OOB URLNoThe OOB invitation URL provided by the trust registry administrator. Used to establish the initial DIDComm connection. Set at creation.
DID MethodNoThe DID method used to generate the per-registry identity. Options: Web (did:web), WebVH (did:webvh), or Peer (did:peer). Defaults to Web (did:web). Set at creation and cannot be changed.
Our DIDNoThe gateway’s per-registry DID, created during the OOB handshake. This is the DID the trust registry uses to identify this gateway. Populated after the handshake completes.
Registry DIDNoThe trust registry’s DIDComm identity, discovered during the OOB handshake.
Main DIDNoThe canonical DID of the trust registry. This is the DID that agents reference in their trust-registry extensions (trust_registry_did field). Populated from the OOB invitation.
Connection StatusNoCurrent connection state. See Connection statuses.
StatusNoactive or disabled. Disabled registries are excluded from Issuer configuration. Not editable from the dashboard; deleting a registry removes the record rather than disabling it.

The backend also tracks a Mediator URL, the mediator endpoint auto-discovered from the OOB invitation, but it is not rendered anywhere on this page.

Besides records, the gateway publishes human-readable names to a connected registry as reference fields: the names of the Issuers registered with it and their Authorities, and the surface names of managed agents that a Trust Recorder records into it. See How names reach the trust registry.

Connection statuses

StatusMeaning
CONNECTINGThe OOB handshake is in progress.
AWAITING APPROVALSetup message sent. Waiting for the trust registry administrator to approve.
CONNECTEDConnection is established. TRQP queries can be issued.
DISCONNECTEDPreviously connected. Use Reconnect to re-establish.
FAILEDThe registry rejected the gateway, or the first connection from the OOB invitation failed. Use Reconnect to retry.

From version 1.0.4, a dropped connection to a connected registry no longer marks it FAILED: the gateway retries it in the background. A successful Reconnect moves a FAILED registry to CONNECTING, where it waits for the registry to approve the gateway.

Actions

ActionAvailable whenDescription
ReconnectStatus is DISCONNECTED or FAILED.Its tooltip reads “Restores the connection using this gateway’s stored identity for the registry, or completes the setup from the OOB URL if it never connected. If a connected registry still fails, delete and re-add it.”
Heartbeat icon (tooltip: Heartbeat)Status is CONNECTED.Sends a test query to confirm the connection is live. Returns Ping to "<name>" successful (<ms>ms) on success.