---
name: "libnvme_sed_set_password-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/libnvme_sed_set_password-libnvme3"
---

# libnvme\_sed\_set\_password-libnvme3(2)

Change the Admin1 password

## NAME

libnvme\_sed\_set\_password - Change the Admin1 password

## SYNOPSIS

**int libnvme\_sed\_set\_password** **(struct libnvme\_transport\_handle \*hdl** *,* **const struct libnvme\_sed\_key \*key** *,* **const struct libnvme\_sed\_key \*new\_key** *);*

## ARGUMENTS

- hdl

  Transport handle

- key

  Current Admin1 password

- new\_key

  New Admin1 password

## RETURN

See the return value convention above.
