Authority reference

How to add an Authority, an outside organisation’s DID that your gateway trusts as a trust anchor for agents and Issuers, and the fields and actions of the Authority editor.

An Authority is an outside organisation’s DID that your gateway trusts as a trust anchor: a Trust Check asks the trust registry whether that DID recognises or authorises an agent or an Issuer. Authorities are kept on the Authorities tab of the Identities page, which is Identity in the sidebar. They are this gateway’s own register: adding an Authority writes nothing to a trust registry.

Use an Authority as a trust anchor:

  • In a Trust Check, as the Authority ID of a query, to ask the trust registry whether that organisation recognises or authorises an agent.
  • In a Trust Recorder entry, as the Authority of the records it writes.

When the gateway writes records with an Authority’s DID, it also publishes the Authority’s name to the trust registry, so the registry can show it.

For conceptual background, see Trust registries.

Adding an Authority

Before you start

You needWhere it comes from
The organisation’s DIDThe other organisation. To check agents from another gateway, use the DID of the Issuer that organisation registered in the shared trust registry. It cannot be changed later.
A role that can manage AuthoritiesAdministrator, by default.

Steps

  1. Select Identity in the sidebar, open the Authorities tab, and select Add Authority.

    Authorities tab of the Identities page listing one Authority with its name, description and DID, and the Add Authority button
  2. Enter an Authority Name and the Authority DID, then select Save. Authority Description and Authority Context are optional.

    New Authority form with Authority Name, Authority DID, Authority Description, and an Authority Context JSON object marked Valid JSON object, with the Save button
  3. Open a Trust Check query or a Trust Recorder entry. The Authority now appears in its Authority ID or Authority list.

What to do next

Fields

FieldRequiredEditableDescription
Authority NameYesYesDisplay name, shown in the Trust Check and Trust Recorder lists and published to the trust registry with records that use this Authority.
Authority DIDYesNoThe organisation’s DID, the identifier that anchors trust to it. It must start with did: and be unique on this gateway.
Authority DescriptionNoYesFree-text description.
Authority ContextNoYesA JSON object of extra properties, such as {"role": "issuer"}, stored with the Authority. The editor confirms Valid JSON object or shows the parsing error. The gateway stores it for reference only.
Created / Last updated—NoShown when you open an existing Authority.

Actions

ActionAvailable whenDescription
SaveAlways.Creates the Authority, or saves your changes to an existing one.
Delete (trash icon)You open an existing Authority.Removes the Authority from this gateway’s register. Select it twice: the first click turns the trash icon into a warning sign, and selecting the warning sign deletes the Authority. Clicking anywhere else cancels. From version 1.0.9, an Authority that a Trust Check or Trust Recorder entry uses can’t be deleted. See Deleting an Authority that is in use.

Deleting an Authority that is in use

From version 1.0.9, deleting an Authority that a Trust Check or Trust Recorder entry uses opens the Authority in use dialog instead. It names the Authority and says it “is used by Trust Checks or Trust Recorder entries. Point them at another Authority or remove them, then delete it.” The dialog lists each surface, as a link, and each STS client that uses the Authority, with the Trust Checks and Trust Recorder entries that name it. When some of them are hidden from you, it adds “N more you can’t view.” Select Close, change or remove each listed entry, then delete the Authority again.

When an Authority that entries use is gone, for example one deleted before version 1.0.9, its Trust Checks fail with AUTHORITY_NOT_FOUND, its Trust Recorder entries write nothing, and the surface can’t be saved until each one is fixed. See Trust elements.