Issuer Configuration

Multi-tenancy

Since mid-Jan Q1/23 the Wallet Kit extended it's multi-issuer configurability to a complete multi-tenancy supported system.

All API endpoints for issuer configuration have the option for setting a tenantId.

The default tenantId is "default".

Creating a DID for a tenant

POST /issuer-api/{tenantId}/config/did/create

curl -X 'POST' \
  'http://localhost:8080/issuer-api/default/config/did/create \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "method": "key",
}'

Retrieve and update tenant configuration

GET /issuer-api/{tenantId}/config/getConfiguration

curl -X 'GET' \
  'http://localhost:8080/issuer-api/default/config/getConfiguration' \
  -H 'accept: application/json'

Update issuer configuration to include our generated DID

POST /issuer-api/{tenantId}/config/setConfiguration

curl -X 'POST' \
  'https://wallet.walt-test.cloud/issuer-api/default/config/setConfiguration' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d 'vv JSON BELOW vv'

Last updated