ykman piv access change-management-key

Change the management key

Options

NameDescription
-P, --pin <TEXT>PIN code
-t, --touchRequire touch on YubiKey to generate code
-n, --new-management-key <TEX>A new management key
-m, --management-key <TEX>Current management key
-a, --algorithm <algorithm>Management key algorithm
-p, --protectStore new management key on the YubiKey, protected by PIN. A random key will be used if no key is provided
-g, --generateGenerate a random management key. Implied by --protect unless --new-management-key is also given. Conflicts with --new-management-key
-f, --force
  • Dangerous 💥
-h, --helpShow piv access change-management-key usage information