libnvmf_lookup_key-libnvme3(2)

libnvmf_lookup_key-libnvme32

Lookup key serial number

Usage

int libnvmf_lookup_key (struct libnvme_global_ctx *ctx , const char *type , const char *identity , long *key );

Arguments

ctx

struct libnvme_global_ctx object

type

Key type

identity

Key description

key

Key serial number to return

Overview

Looks up the serial number of the key identity with type type in the current session keyring.

Return

0 on success, negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.