🟣change-management-key

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-management-key OPTIONS

OptionsDescription

-h, --help

Show this message and exit.

-a, --algorithm [TDES| AES128|AES192|AES256]

Management key algorithm. [Default: TDES]

-f, --force

Confirm the action without prompting.

-g, --generate

Generate a random management key. Implied by --protect unless --new-management-key is also given. Conflicts with --new-management-key.

-m, --management-key TEXT

Current management key.

-n, --new-management-key TEXT

New management key.

-p, --protect

Store new management key on the YubiKey, protected by PIN. A random key is used if no key is provided.

-P, --pin TEXT

PIN code.

-t, --touch

Require touch on YubiKey when prompted for management key.

HELP

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

  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 stored on the YubiKey, protected by PIN.

Options:
  -P, --pin TEXT                  PIN code.
  -t, --touch                     Require touch on YubiKey when prompted for management key.
  -n, --new-management-key TEXT   A new management key.
  -m, --management-key TEXT       Current management key.
  -a, --algorithm [TDES|AES128|AES192|AES256]
                                  Management key algorithm.  [default: TDES]
  -p, --protect                   Store new management key on the YubiKey, protected by PIN. A random key will be used if no key is provided.
  -g, --generate                  Generate a random management key. Implied by --protect unless --new-management-key is also given. Conflicts
                                  with --new-management-key.
  -f, --force                     Confirm the action without prompting.
  -h, --help                      Show this message and exit.

Last updated