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",
}'POST this JSON body to the specified URL:
{
"method": "string*",
"keyAlias": "string",
"didWebDomain": "string",
"didWebPath": "string"
}Method being one of: [ key, web, ebsi, iota, cheqd, jwk ]. Only the method is required. All "didWeb" prefixed options are only needed for creating a did:web.
Response: did:key:z6MknaJ7YLdkCq1QV2tcwVSY5uVfUKGfBdigo7g4PyipTnCc
Retrieve and update tenant configuration
GET /issuer-api/{tenantId}/config/getConfiguration
Update issuer configuration to include our generated DID
POST /issuer-api/{tenantId}/config/setConfiguration
The configuration was amended to include the "issuerDid" attribute with the DID from "Creating a DID for a tenant".
Last updated
Was this helpful?
