NVME-TLS-KEY(1)
πΈ NAME πΈ
nvme-tls-key β manage NVMe TLS PSKs, but bestieβ¦ it's deprecated π
Hiiii and welcome to the nvme-tls-key(1) page from the NVMe Manual! β¨ This is the deprecated command bestie, and it's lowkey just an alias now.
π¦ SYNOPSIS π¦
nvme [<global-options>] tls-key [--keyring=<name> | -k <name>]
[--keytype=<type> | -t <type>]
[--keyfile=<file> | -f <file>]
[--import | -i] [--export | -e]
[--revoke=<description> | -r <description>]
π DESCRIPTION π
Ok so this one is deprecated β it's kept for scripts written against nvme-cli versions older than 3.0. Exactly one of --import, --export, or --revoke must be given. Based on which mode is selected, this alias translates the command into the equivalent new keys plugin subcommand and forwards to it:
--importtranslates tonvme-keys-import(1), forwarding--keyringand--keyfile.--exporttranslates tonvme-keys-export(1), forwarding--keyringand--keyfile.--revoke=<description>translates tonvme-keys-revoke(1), forwarding--keyringand--keytype, with<description>passed as--identity.
Only the options relevant to the selected mode are meaningful; e.g. --keytype has no effect with --import or --export since the new import/export subcommands no longer take a key type. This command does not derive or insert a TLS PSK from a configured PSK β use nvme-keys-gen-tls-psk(1) or nvme-keys-insert-tls-psk(1) for that.
New scripts should call nvme keys import, nvme keys export, or nvme keys revoke directly instead. This alias prints a deprecation warning on stderr and may be removed in a future release.
π¨ bestie warning: this is the deprecated alias. It prints a deprecation warning on stderr and may be removed in a future release. The new nvme keys ... commands are the main character now, periodt.
β¨ OPTIONS β¨
-k <name>,--keyring=<name>β name of the keyring to import into, export from, or revoke from. Default is.nvme.-t <type>,--keytype=<type>β type of the key to revoke. Only used with--revoke. Default ispsk.-f <file>,--keyfile=<file>β file to read the keys from (--import) or write the keys to (--export) instead of stdin/stdout.-i,--importβ import keys in bulk; seenvme-keys-import(1).-e,--exportβ export all keys from the keyring; seenvme-keys-export(1).-r <description>,--revoke=<description>β revoke the key stored under<description>from the keyring; seenvme-keys-revoke(1).
π GLOBAL OPTIONS π
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-runβ print the command that would be executed, but do not actually execute it.--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors.-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,'json, orbinary. Only one output format may be used at a time.--output-format-version=<version>β select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names. Other versions are rejected.--quietβ suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level.--set-options=<key=value>[,<key=value>...]β set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff).-v,--verboseβ increase the level of detail in the output. May be specified multiple times to further increase verbosity.
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
π EXAMPLES π
Literally No Examples. The original page says No Examples, so no invented examples here, bestie. π
π NVME π
Part of the nvme-user suite. π
π«Ά SEE ALSO π«Ά
nvme-keys-import(1), nvme-keys-export(1), nvme-keys-revoke(1)
mwah π this page is from NVMe, dated 10/30/2026, and it's the NVME-TLS-KEY(1) page. byeee, go call nvme keys directly π«Άβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms