Skip to main content
REST API reference
A newer release of this product is available.

View key stores

Access key stores to manage and retrieve information about configured key managers. Use these endpoints to ensure the proper functioning and security of your key management infrastructure.

Overview

A keystore describes a key-manager, specifically the type of key-manager.

Examples

Retrieving information for all configured key managers

The following example shows how to retrieve information about all configured key managers.

= The API:

GET /api/security/key-stores

= The call:

curl -X GET 'https://+++<mgmt-ip>+++/api/security/key-stores?fields=*' -H 'accept: application/hal+json'+++</mgmt-ip>+++

= The response:

{
"records": [
    {
    "uuid": "33421d82-0a8d-11ec-ae88-005056bb5955",
    "keystore": {
        "type": "akv"
    },
    "_links": {
        "self": {
        "href": "/api/security/key-stores/33421d82-0a8d-11ec-ae88-005056bb5955/akv"
        }
    }
},
{
    "uuid": "46a0b20a-0a8d-11ec-ae88-005056bb5955",
    "keystore": {
        "type": "okm"
},
    "_links": {
        "self": {
        "href": "/api/security/key-stores/46a0b20a-0a8d-11ec-ae88-005056bb5955/okm"
        }
    }
    }
],
"num_records": 2,
"_links": {
    "self": {
    "href": "/api/security/key-stores"
    }
}
}