---
name: "libnvmf_describe_key_serial-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvmf_describe_key_serial-libnvme3"
---

# libnvmf\_describe\_key\_serial-libnvme3(2)

Return key description

## NAME

libnvmf\_describe\_key\_serial - Return key description

## SYNOPSIS

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

## ARGUMENTS

- ctx

  struct libnvme\_global\_ctx object

- key\_id

  Key serial number

## DESCRIPTION

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

## RETURN

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