...
1## cosign piv-tool set-management-key
2
3sets the management key of a hardware token
4
5```
6cosign piv-tool set-management-key [flags]
7```
8
9### Options
10
11```
12 -h, --help help for set-management-key
13 --new-key string new management key, uses default if empty
14 --old-key string existing management key, uses default if empty
15 --random-management-key if set to true, generates a new random management key and deletes it after
16```
17
18### Options inherited from parent commands
19
20```
21 -f, --no-input skip warnings and confirmations
22 --output-file string log output to a file
23 -t, --timeout duration timeout for commands (default 3m0s)
24 -d, --verbose log debug output
25```
26
27### SEE ALSO
28
29* [cosign piv-tool](cosign_piv-tool.md) - Provides utilities for managing a hardware token
30
View as plain text