Skip to main content
Version: Next

Retrieve key

GET 

/api/management/keys/:keyId

Retrieves key information of a specific key within this wallet

Request

Path Parameters

    keyId stringrequired

Responses

Schema
    idstringrequired
    Example: b86483f3-3792-4a54-b11e-f1c6face9935
    typeKeyType (string)required

    Possible values: [EdDSA, ES384, X509]

    Example: EdDSA
    defaultbooleanrequired
    Example: true
    publicKey object
    algstring
    Example: RS256
    crvstring
    Example: P-256
    estring
    Example: AQAB
    extboolean
    Example: false
    key_opsstring[]
    Example: ["sign","verify"]
    kidstring
    Example: bdfd4c8e-3a44-4b9f-bc3e-1a8e26e3e99d
    ktystringrequired
    Example: RSA
    nstring
    Example: sample_modulus
    usestring
    Example: sig
    xstring
    Example: sample_x_coordinate
    ystring
    Example: sample_y_coordinate
    createdDatedate-timerequired
    Example: 2025-02-21T10:26:42.206Z
    modifiedDatedate-timerequired
    Example: 2025-02-21T10:26:42.206Z

Authorization: oauth2

name: oauth2type: oauth2scopes: wallet_manage_keysflows: {
  "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/keys/:keyId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Request Collapse all
Auth
Parameters
— pathrequired