---
name: "libnvmf_revoke_tls_key-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_revoke_tls_key-libnvme3"
---

# libnvmf\_revoke\_tls\_key-libnvme3(2)

Revoke a TLS PSK from a keyring

## NAME

libnvmf\_revoke\_tls\_key - Revoke a TLS PSK from a keyring

## SYNOPSIS

**int libnvmf\_revoke\_tls\_key** **(struct libnvme\_global\_ctx \*ctx** *,* **const char \*keyring** *,* **const char \*key\_type** *,* **const char \*identity** *);*

## ARGUMENTS

- ctx

  struct libnvme\_global\_ctx object

- keyring

  Keyring to use

- key\_type

  Type of the key to revoke

- identity

  Key identity string

## RETURN

0 on success, negative error code otherwise.
