DOKK / manpages / debian 12 / yubikey-manager / ykman.1.en
YKMAN(1) User Commands YKMAN(1)

ykman - YubiKey Manager (ykman)

ykman [OPTIONS] COMMAND [ARGS]...

Configure your YubiKey via the command line.

Specify which YubiKey to interact with by serial number.
Use an external smart card reader. Conflicts with --device and list.
Enable logging at given verbosity level.
Write logs to the given FILE instead of standard error; ignored unless --log-level is also set.
Show diagnostics information useful for troubleshooting.
Show version information about the app
Show --help, including hidden commands, and exit.
Show this message and exit.

Show general information.
List connected YubiKeys.
Enable/Disable applications.
Manage the FIDO applications.
Manage the OATH application.
Manage the OpenPGP application.
Manage the YubiOTP application.
Manage the PIV application.

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