libnvmf\_describe\_key\_serial(9) libnvme API manual libnvmf\_describe\_key\_serial(9)

# [NAME](#NAME)

libnvmf\_describe\_key\_serial - Return key description

# [SYNOPSIS](#SYNOPSIS)

**char * libnvmf\_describe\_key\_serial** **(struct libnvme\_global\_ctx \*ctx ,** **long key\_id );**

# [ARGUMENTS](#ARGUMENTS)

[ctx](#ctx)

struct libnvme\_global\_ctx object

[key\_id](#key_id)

Key serial number

# [DESCRIPTION](#DESCRIPTION)

Fetches the description of the key or keyring identified by the serial number *key\_id*.

# [RETURN](#RETURN)

The description of *key\_id* or NULL on failure. The returned string needs to be freed by the caller.

libnvmf\_describe\_key\_serial October 2026

---

Document: libnvmf_describe_key_serial-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
