ykman(1)

YKMAN(1) User Commands YKMAN(1)

NAME

ykman - YubiKey Manager (ykman)

SYNOPSIS

ykman [OPTIONS] COMMAND [ARGS]...

DESCRIPTION

Configure your YubiKey via the command line.

OPTIONS

-d, --device SERIAL
Specify which YubiKey to interact with by serial number.
-r, --reader NAME
Use an external smart card reader. Conflicts with --device and list.
-l, --log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
Enable logging at given verbosity level.
--log-file FILE
Write logs to the given FILE instead of standard error; ignored unless --log-level is also set.
--diagnose
Show diagnostics information useful for troubleshooting.
-v, --version
Show version information about the app
--full-help
Show --help, including hidden commands, and exit.
-h, --help
Show this message and exit.

Commands:

info
Show general information.
list
List connected YubiKeys.
config
Enable/Disable applications.
fido
Manage the FIDO applications.
oath
Manage the OATH application.
openpgp
Manage the OpenPGP application.
otp
Manage the YubiOTP application.
piv
Manage the PIV application.

EXAMPLES

List connected YubiKeys, only output serial number:

$ ykman list --serials

Show information about YubiKey with serial number 0123456:

$ ykman --device 0123456 info

June 2022 ykman 4.0.9