qmetrics.net

YubiKey Manager

Command-line YubiKey configuration over USB and NFC

YubiKey Manager screenshot

YubiKey Manager provides the ykman CLI and related libraries to configure and manage YubiKey devices. It covers OTP, PIV, FIDO, OpenPGP, OATH, and related applications.

Overview

YubiKey Manager is a command-line tool and companion libraries for configuring and managing YubiKey hardware over USB and NFC. The primary interface is the native ykman executable, rewritten in Rust with optional Python bindings and SDKs distributed separately.

Installation options include platform installers for Windows and macOS, installing via Cargo, a Python package that ships the native CLI for migration from older releases, and third-party packages from Homebrew, MacPorts, and Linux distributions. On Linux, smart card and NFC access depend on PC/SC services, and HID access may require distribution udev rules and device permissions.

The CLI lists connected keys, shows device information by serial number, and exposes subcommands for device configuration plus OATH, Yubico OTP, PIV, FIDO, OpenPGP, YubiHSM Auth, and Security Domain applications. Windows installers can bundle a background service so FIDO management does not always require running the CLI as administrator.

Rust yubikit and Python yubikit SDKs offer programmatic access to YubiKey protocols and transports for scripting and application integration. Users who prefer a graphical tool are directed toward Yubico Authenticator rather than this CLI-focused project.

Key features

  • ykman CLI for device management
  • USB and NFC device access
  • OATH, PIV, FIDO, and OpenPGP support
  • Yubico OTP configuration
  • Rust and Python SDK libraries
  • Platform installers for Windows and macOS
  • Device listing and serial selection
  • Migration support from older Python CLI

Use cases

  • Provisioning OTP and PIV credentials on YubiKeys
  • Managing FIDO and OpenPGP applications
  • Scripting YubiKey operations in Python or Rust
  • Listing and inspecting connected tokens
  • Upgrading from legacy Python-based manager

Tags

Similar software

Keycloak

Identity and access management for applications and services

Keycloak adds authentication and single sign-on to applications so they do not store or verify users themselves. It supports standard protocols and central admin tools.

★ 38.1k⟳ todayApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+7

JumpServer

Open-source bastion host for privileged access

JumpServer is a privileged access management platform that unifies secure access to SSH, RDP, Kubernetes, databases, and web assets.

★ 32.1k⟳ yesterdayGPL-3.0
Open Source Alternative to:BeyondTrust

Better Auth

Composable TypeScript authentication and authorization framework

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. You configure it in code and extend it with plugins for flows like social login, organizations, and enterprise SSO.

★ 30.9k⟳ todayMIT
Open Source Alternative to:Stytch

Infisical

Open-source security infrastructure for secrets, certs, and access

Infisical is a security infrastructure platform where teams manage application secrets, certificates, privileged access, and AI agent credentials in one place.

★ 30.8k⟳ todayMIT · open core
Secrets ManagementSelf-hostable
Open Source Alternative to:Keeper

Authelia

Self-hosted SSO portal with multi-factor authentication

Authentication and authorization server that sits in front of reverse proxies. Provides a web portal for login, OpenID Connect, and granular access rules with several second-factor methods.

★ 29.8k⟳ todayApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+2

NextAuth

Web authentication libraries for JavaScript frameworks

Auth.js (NextAuth) adds sign-in, sessions, and OAuth to modern JavaScript apps. Packages target Next.js, SvelteKit, Express, Qwik, and other runtimes.

★ 28.4k⟳ 4 months agoISC