Yubikey
YubicoBitwardenGPG ToolsDonate Coffee
PIV
PIV
  • Introduction
  • Getting Started
    • ⭕1. Interface
    • ⭕2. PINs
      • 🟣About
      • 🟣Defaults
      • 🟣Change
    • ⭕3. CLI
    • ⭕4. Certificates
    • ⭕5. Reset
  • SLOTS
    • ⭕9A
      • 🟣Certreq
      • 🟣OpenSSL
    • ⭕9C
    • ⭕9D
    • ⭕9E
  • Generate
    • ⭕File Extensions
    • ⭕With OpenSSL
      • 🟣distinguished_name
      • 🟣keyUsage
      • 🟣extendedKeyUsage
    • ⭕With XCA
  • commands
    • ⭕info
    • ⭕reset
    • ⭕access
      • 🟣change-management-key
      • 🟣change-pin
      • 🟣change-puk
      • 🟣set-retries
      • 🟣unblock-pin
    • ⭕certificates
      • 🟣delete
      • 🟣export
      • 🟣generate
      • 🟣import
      • 🟣request
    • ⭕keys
      • 🟣attest
      • 🟣export
      • 🟣generate
      • 🟣import
    • ⭕objects
      • 🟣export
      • 🟣generate
      • 🟣import
Powered by GitBook
On this page
  • ykman piv access change-pin OPTIONS
  • HELP
  • EXAMPLE

Was this helpful?

  1. commands
  2. access

change-pin

Change the management key. Management functionality is guarded by a management key. This key is required for administrative tasks, such as generating key pairs. A random key may be generated and store

ykman piv access change-pin OPTIONS

Options
Description

-h, --help

Show this message and exit.

-n, --new-pin TEXT

New PIN.

-P, --pin TEXT

Current PIN code.

HELP

Usage: ykman.exe piv access change-pin [OPTIONS]

  Change the PIN code.

  The PIN must be between 6 and 8 characters long, and supports any type of alphanumeric characters. For cross-platform compatibility, numeric
  PINs are recommended.

Options:
  -P, --pin TEXT      Current PIN code.
  -n, --new-pin TEXT  A new PIN.
  -h, --help          Show this message and exit.

EXAMPLE

ykman piv access change-pin
ykman piv access change-pin --pin 123456 --new-pin 654321
Previouschange-management-keyNextchange-puk

Last updated 2 years ago

Was this helpful?

⭕
🟣