Skip to main content

Read key usage

GET 

/v2/config/digital-wallet/openid/key-management/keys/:keyId/usage

Reports where a key is in use: the credential definitions and presentation definitions that sign with it, the status lists of those credential definitions, the issuances and verifications in flight, and whether the key can be deleted. The items come last changed first.

The report reads the organisation and its sandbox organisations only: a definition of a sandbox organisation signs with the keys of its main organisation, and no other organisation can use the key. The delete key operation applies the same rule.

Request​

Path Parameters

    keyId stringrequired

    Unique identifier of the key

Query Parameters

    search stringrequired

    Possible values: <= 128 characters

    Keeps the credential and presentation definitions whose name or ID contains the text, and the status lists of the kept credential definitions. An ID also matches without its hyphens. Case insensitive, at most 128 characters. The in flight counts and canDelete always cover every use of the key.

Responses​

The service returned the usage report of the key.

Response Headers
    Schema
      keyId stringrequired

      Unique identifier of the key.

      isDefault booleanrequired

      Shows true when the wallet signs with this key by default.

      hasCertificates booleanrequired

      Shows true when a certificate chain is linked to the key.

      credentialDefinitions objectrequired

      Credential definitions that sign with the key.

      count integer

      Number of items.

      items object[]
    • Array [
    • id string

      Unique identifier of the credential definition.

      label string

      Name of the credential definition.

    • ]
    • presentationDefinitions objectrequired

      Presentation definitions that sign with the key.

      count integer

      Number of items.

      items object[]
    • Array [
    • id string

      Unique identifier of the presentation definition.

      label string

      Name of the presentation definition.

    • ]
    • statusLists objectrequired

      Status lists of the credential definitions that sign with the key.

      count integer

      Number of items.

      items object[]
    • Array [
    • id string

      Unique identifier of the status list.

      credentialConfigurationId string

      Identifier of the credential definition that the status list belongs to.

      issuerUrl string

      Issuer URL that the status list is published under.

    • ]
    • issuanceRecordsInFlight objectrequired

      Credential issuances that are under way with the key.

      count integer

      Number of issuances in flight.

      verificationRecordsInFlight objectrequired

      Verifications that are under way with the key.

      count integer

      Number of verifications in flight.

      canDelete booleanrequired

      Shows true when nothing uses the key, so the delete key operation accepts it.

    Loading...