IBM Cloud Docs
Why can't I view or list keys?

Why can't I view or list keys?

When you try to list keys by using the Hyper Protect Crypto Services key management service API, you're unable to view any keys in a service instance that you have access to.

You call GET api/v2/keys to list the keys that are available in your service instance. The system returns a response similar to the following JSON object:

{
    "metadata": {
        "collectionType": "application/vnd.ibm.kms.key+json",
        "collectionTotal": 0
    }
}

You do not have the correct authorization to view the requested range of keys.

Contact an administrator to check your permissions. If the service instance contains keys that you're unable to view, verify that you're assigned the applicable level of access to keys in the service instance.