Scroll to navigation

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

specify which YubiKey to interact with by serial number
specify a YubiKey by smart card reader name (can't be used with --device or list)
enable logging at given verbosity level
write log to FILE instead of printing to stderr (requires --log-level)
show diagnostics information useful for troubleshooting
show version information about the app
show --help output, including hidden commands
show this message and exit

Commands:

show general information
list connected YubiKeys
run a python script
enable or disable applications
manage the FIDO applications
manage the YubiHSM Auth application
manage the OATH application
manage the OpenPGP application
manage the YubiOTP application
manage the PIV application

EXAMPLES

List connected YubiKeys, only output serial number:

$ ykman list --serials

Show information about YubiKey with serial number 123456:

$ ykman --device 123456 info

October 2023 ykman 5.2.1