libnvme(9) API Manual libnvme(9)

# [NAME](#NAME)

struct libnvme\_sed\_key - SED key (password or PSID)

# [SYNOPSIS](#SYNOPSIS)

struct libnvme\_sed\_key {  
**\_\_u8 type;**  
**\_\_u8 len;**  
**\_\_u8 key\[LIBNVME\_SED\_KEY\_MAX];**  
};

# [Members](#Members)

[type](#type)

Key source, see *enum libnvme\_sed\_key\_type*

[len](#len)

Length of *key* in bytes, ignored for LIBNVME\_SED\_KEY\_KEYRING

[key](#key)

Key data

struct libnvme\_sed\_key October 2026

---

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