Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

YubiKey Manager CLI

YubiKey Manager provides the ykman command-line tool for configuring and managing YubiKeys. It supports device configuration and the OATH, Yubico OTP, PIV, FIDO, OpenPGP, YubiHSM Auth, and Security Domain applications.

The CLI is written in Rust and distributed through this Python package as a native executable. This Python package exists only to ease migration from earlier Python-based versions of YubiKey Manager. Installing the Rust CLI directly is the preferred approach.

This is a beta release. Commands and behavior may change before the stable release.

Installation

Preferred: install the Rust CLI directly

Install the native CLI through Cargo:

cargo install ykman-cli --version 6.0.0-beta.0 --locked

Building requires Rust 1.88 or later and the platform prerequisites listed in the ykman-cli crate documentation. The directly installed CLI does not require Python.

Python package (migration only)

The migration package requires Python 3.11 or later:

python -m pip install --pre yubikey-manager

This installs only the CLI. The Python SDK is distributed separately as yubikit; neither package installs the other. To use the Python API, install it explicitly:

python -m pip install --pre yubikit

When migrating from yubikey-manager 5.x, use a new virtual environment or uninstall the old distribution before installing either new package. The old distribution contains files now owned by the separate SDK, and uninstalling it afterward can remove those shared files.

Linux prerequisites

Install the system PC/SC client library (libpcsclite.so.1) and ensure pcscd is running or socket-activated for smart card and NFC access. Linux wheels use the system PC/SC library rather than bundling a potentially incompatible copy.

HID access may require your distribution's YubiKey udev rules and suitable device permissions. Saving credentials requires a session D-Bus and a Secret Service provider, such as GNOME Keyring.

Usage

ykman --help
ykman list
ykman info
ykman oath --help

See the YubiKey Manager CLI User Manual for command details and examples. Source code and migration documentation are available in the YubiKey Manager repository.

License

The Python package is licensed under BSD-2-Clause. The native Rust executable is licensed under Apache-2.0. Bundled third-party license notices are available with ykman licenses.

Metadata

Release files for yubikey-manager 6.0.0b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for yubikey-manager 6.0.0b0
File Actions
yubikey_manager-6.0.0b0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for yubikey_manager-6.0.0b0-py3-none-win_arm64.whl
yubikey_manager-6.0.0b0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for yubikey_manager-6.0.0b0-py3-none-win_amd64.whl
yubikey_manager-6.0.0b0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for yubikey_manager-6.0.0b0-py3-none-manylinux_2_28_x86_64.whl
yubikey_manager-6.0.0b0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for yubikey_manager-6.0.0b0-py3-none-manylinux_2_28_aarch64.whl
yubikey_manager-6.0.0b0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl Python 3 none macOS 10.12+ x86-64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64 Details for yubikey_manager-6.0.0b0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Total release size: 22.3 MB

Release files / yubikey_manager-6.0.0b0-py3-none-win_arm64.whl

Download URL yubikey_manager-6.0.0b0-py3-none-win_arm64.whl
Size 3.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
5ca0b20aa2ea39bea1ae92f09f3bbb572d0c98091f482def6ee225c669202f21
BLAKE2b-256 checksum
How to use checksums
be4c2fd7be98122b0b93f9b5cbcf1403083687d9bcecae3efdfa1d81e8bae009
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / yubikey_manager-6.0.0b0-py3-none-win_amd64.whl

Download URL yubikey_manager-6.0.0b0-py3-none-win_amd64.whl
Size 3.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
bb4757303ed96075521dadef9ffcbdaa10cd8434ebbf26b5f1b21ac9a9bae6fa
BLAKE2b-256 checksum
How to use checksums
c668ea55c7cdd819b2336a2f57ddb533d3105cb9d68c7a1aa2ddfdb783075425
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / yubikey_manager-6.0.0b0-py3-none-manylinux_2_28_x86_64.whl

Download URL yubikey_manager-6.0.0b0-py3-none-manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
503fe6b61bd3f7b5bc69170cf4697b0f3817dd89261e43456fa3bd170c297938
BLAKE2b-256 checksum
How to use checksums
f767a9187b3f777101e00b5f31f27d618b23b581f9e5ffdccaae7d338b2b7f7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / yubikey_manager-6.0.0b0-py3-none-manylinux_2_28_aarch64.whl

Download URL yubikey_manager-6.0.0b0-py3-none-manylinux_2_28_aarch64.whl
Size 5.0 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f70ca5535fd98ce78b2638fe78e1eaed87b47214421f2432b7eca60f8f38be00
BLAKE2b-256 checksum
How to use checksums
3464f6a7e3fb9d003aa9b38942b450def1a0e7acc200d9a5b7eb3d5441ded73e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / yubikey_manager-6.0.0b0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL yubikey_manager-6.0.0b0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 5.2 MB
Tags Python 3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b85ad4837eefc8cb82d73be4bf44e80f603f30c694cb522c0d1e1178f93e0ae9
BLAKE2b-256 checksum
How to use checksums
cbc66700a6c892cd2c9cc3bd06b93eb1a0ef205d5fbf976d9e27b5b0a2023965
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for yubikey-manager 6.0.0b0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page