GuidesConfigure credential types

How to configure Credential types

Credential types define what credentials are valid in the Ecosystem.

Request

Make a request of the following structure to configure a Credential type:

HTTP
POST /v1/ecosystems/{ecosystemId}/credentials
  • ecosystemId : Credential types must be configured within a specific ecosystem. Use the ecosystem unique id obtained when you created the ecosystem.

Request body

JSON
{
    "profile": "compact",
    "type": "DriverLicence",
    "name": "Driver's Licence"
}
  • profile : Insert the profile of the new credential (web-semantic, compact-semantic, compact or mobile).
  • type : Insert the type of the new credential.
  • name : Insert a meaningful name for the new credential type.

Response

JSON
{
    "id": "599bf148-d711-405a-a20b-9c8a87ac8850",
    "ecosystemId": "6f219af9-edc2-4840-b8e7-05b27f28751d",
    "profile": "compact",
    "type": "DriverLicence",
    "name": "Driver's Licence"
}
  • id : A unique identifier for the new credential. This identifier is used when creating a policy.