nvme-check-dhchap-key(1)
========================

NAME
----
nvme-check-dhchap-key - Check a host DH-HMAC-CHAP secret (deprecated)

SYNOPSIS
--------
[verse]
'nvme' [<global-options>] 'check-dhchap-key' [--key=<secret> | -k <secret>]

DESCRIPTION
-----------
Deprecated alias for linknvme:nvme-keys-check-kxchap-secret[1], kept for scripts
written against nvme-cli versions older than 3.0. It takes the one option
nvme-cli 2.x took, '--key'/'-k', and passes the secret to that command.
Exit codes match 2.x, but 'Key is valid', 'Key is loaded' and 'Key is not
loaded' are now 'Secret is ...', and the validation errors say secret where
they said key, so a script matching the old wording needs updating.

'--keydata', '--keyring', '--keytype' and '--identity' are reachable only
under 'nvme keys check-kxchap-secret'. With no '--key' the secret is read
from stdin, where 2.x reported 'Key not specified'.

New scripts should use 'nvme keys check-kxchap-secret' instead. This alias
prints a deprecation warning on stderr and may be removed in a future release.

See linknvme:nvme-keys-check-kxchap-secret[1] for the full option reference.

include::global-options.txt[]

EXAMPLES
--------
No Examples

NVME
----
Part of the nvme-user suite

SEE ALSO
--------
linknvme:nvme-keys-check-kxchap-secret[1]
