Key Management

Returns a list of Keys for the provided identity.

get/v2/identities/{identifier}/keys

Request

  • The document declares no server URL.
  • Auth
    HTTP basic

Path parameters

identifierstring required

Issuer identifier

Query parameters

max_resultsinteger
Example:50

Number of items to fetch on each page. Minimum is 10. Default is 50. No maximum by the moment.

pageinteger
Example:1

Page to fetch. First is one. If omitted, page 1 will be returned.

type'babyjubJub' | 'secp256k1' | 'ed25519'
Example:babyjubJub

If not provided, all keys will be returned.

Response

Keys collection

Example response

{
  "items": [
    {
      "id": "ZGlkOnBvbHlnb25pZDpwb2x5Z29uOmFtb3k6MnFRNjhKa1JjZjN5cXBYanRqVVQ3WjdVeW1TV0hzYll",
      "keyType": "babyjubJub",
      "publicKey": "0x04e3e7e",
      "isAuthCredential": true,
      "name": "my key"
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "max_results": 50
  }
}

Changes

    • warning

      added the new ed25519 enum value to the // response property for the response status

    • info

      added the new enum value ed25519 to the query request parameter type

    • info

      endpoint added