List Key Stores

Retrieves the list of key stores available to the authenticated identity. A key store represents a secure container that holds cryptographic keys or signing materials. Use this endpoint to identify which key stores your application can access.

HTTP request
GET /key-stores
Authentication
Authentication Type Supported
Organization User (CustomerEmployee) Yes
Delegated User (EndUser) No
Service Account Yes
Required permissions
KeyStores:Read(always required)
Authorization requirements
Header Type Required Description
Authorization string Yes Bearer token used to authenticate the request. See Authentication flows for instructions on generating this token.
Request body
curl --request GET \
  --url https://api.digitalassets.ibm.com/key-stores \
  --header 'Authorization: Bearer <token>'
Response
200: Success

Example response:

{
  "items": [
    {
      "id": "<string>",
      "kind": "Hsm",
      "primary": true,
      "name": "<string>"
    }
  ]
}