base

Configure your YubiKey via the command line.

ykman OPTIONS COMMAND

Command
Description

config

Enable/Disable applications.

fido

Manage the FIDO applications.

info

Show general information.

list

List connected YubiKeys.

oath

Manage the OATH Application.

openpgp

Manage the OpenPGP Application.

otp

Manage the OTP Application.

piv

Manage the PIV Application.

Options
Description

-h, --help

Show this message and exit.

-d, --device SERIAL

Specify YubiKey to interact with by serial number.

--diagnose

Show diagnostics information for troubleshooting.

--full-help

Show –help, including hidden commands, and exit.

--log-file FILE

Write logs to a given FILE instead of standard error. Ignored unless --log-level also set.

-l, --log-level [DEBUG|INFO| WARNING|ERROR|CRITICAL]

Enable logging at given verbosity level.

-r, --reader NAME

Use an external smart card reader. Conflicts with --device and list.

-v, --version

Show version information about the app [ykman]

Last updated