Skip to main content
Version: v0.8.0

Retrieve credential configuration

GET 

/api/management/credentials/config

Retrieves credential configuration that can be used by this wallet. Contains both trust anchors and JSON-LD contexts.

Request

Responses

Schema
    contextstring[]

    A list of JSON-LD contexts applied to the credential

    Example: ["https://dataspace.example/context"]
    typestring[]

    Types that classify the credential

    Example: ["DataSpaceMembershipCredential"]
    idCredential ID (string)required

    Unique identifier for the credential configuration

    Example: credential-id-789
    keyIdstring

    Optional key identifier associated with the credential

    Example: key-identifier-001
    credentialSubject object

    The credential subject details

    idstringrequired
    Example: did:example:subject-1
    revocablebooleanrequired

    Indicates whether the credential is revocable

    Example: true

Authorization: oauth2

name: oauth2type: oauth2scopes: wallet_view_all_credentials,wallet_view_own_credentialsflows: {
  "password": {
    "scopes": {
      "wallet_view_did": "wallet_view_did",
      "wallet_manage_keys": "wallet_manage_keys",
      "wallet_use_keys": "wallet_use_keys",
      "wallet_view_own_credentials": "wallet_view_own_credentials",
      "wallet_view_all_credentials": "wallet_view_all_credentials",
      "wallet_manage_own_credentials": "wallet_manage_own_credentials",
      "wallet_manage_all_credentials": "wallet_manage_all_credentials",
      "wallet_issue_credentials": "wallet_issue_credentials",
      "wallet_view_presentations": "wallet_view_presentations"
    }
  }
}
curl -L 'https://tsg.dataspac.es/api/management/credentials/config' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Request Collapse all
Auth