Skip to main content

API key

API keys are an alternative to OAuth clients for granting external systems access to your wallet. Each key has a name, a set of permissions, and an expiry date - so you can grant different integrating parties exactly the access they need, for as long as they need it.

Unlike OAuth clients, API keys use a simple Bearer token scheme and do not require an OAuth token exchange step.

What can you do with an API key?​

An API key lets an external system authenticate against the Business Wallet REST API without an OAuth token exchange step. Each key carries its own name, permission set, and expiry date, so you can grant different integrating parties exactly the access they need, add new keys as integrations grow, and revoke access instantly by deleting the key.

Go to Settings → API access (under Access) and open the API key API access tab.

API keys overview

The table lists all configured API keys. Each row shows:

ColumnDescription
NameThe name given to this API key
RolesThe permissions assigned to this key
Expiry dateThe date after which this key is rejected

The icons at the end of each row let you edit, copy, or delete the key.

Expired API keys are visually greyed out and flagged with a warning icon.

Required permission

You need the API access (View) permission to view this screen, and API access (Change) to add, edit, or delete API keys.

Add an API key​

Click Add API key in the top right of the screen. The Add API key dialog opens.

Add API key dialog

Fill in the fields:

Name (required) A name for this key. Choose something meaningful, such as the name of the integrating party or its purpose (e.g. acme-backend or reporting-service). The name must be unique within your wallet.

Expiry date (required) The date on which this key expires. Defaults to one year from today. After the expiry date, the key is rejected.

Notes (optional) Free-text field to record context about the key, such as the integrating party's name, contact person, or purpose.

Permissions Select which permissions to assign to this key using the permissions grid. Each row represents a resource (such as Holder credentials, Identifier, Trusted contacts, Issue credentials, Catalog, Wallet domain, API access, Wallet, …) and has two checkboxes:

  • Change - grants full create/read/update/delete access for the resource (and implicitly selects View)
  • View - grants read-only access; can be selected independently

A few resources only have one checkbox: Send Invoices only has Change, and Audit trail only has View.

Click Save. The New API key dialog appears. It shows the Name and the generated API key. The key is masked; use the eye icon to reveal it and the copy icon to copy it.

API key value dialog
Copy the key now

The API key value is only shown once. Store it securely - it cannot be retrieved afterwards.

The new API key now appears in the list.

Edit an API key​

Click the pencil icon on any row to edit an API key. The Edit API key dialog opens.

Edit API key dialog

You can update the Name, Notes, and Permissions. The expiry date cannot be changed after the key has been created. To get a key with a different expiry date, copy the key and delete the old one.

Click Save to apply the changes.

Copy an API key​

Click the copy icon (a square with a plus) on any row to create a new key based on an existing one. The Copy API key dialog opens with the permissions and notes of the original key already filled in. Enter a new Name and Expiry date, adjust the permissions if needed, and click Save. As with a new key, the API key value is shown once.

Delete an API key​

Click the trash icon on any row. A confirmation dialog appears.

Delete confirmation dialog

Click Delete to permanently revoke access for this API key, or Cancel to keep it.

Authenticate using an API key​

Pass the API key value in the x-api-key header of your API requests:

GET /api/...
x-api-key: {your-api-key-value}