...
1## cosign piv-tool generate-key
2
3generate-key generates a new signing key on the hardware token
4
5```
6cosign piv-tool generate-key [flags]
7```
8
9### Options
10
11```
12 -h, --help help for generate-key
13 --management-key string management key, uses default if empty
14 --pin-policy string PIN policy for slot (never|once|always)
15 --random-management-key if set to true, generates a new random management key and deletes it after
16 --slot string Slot to use for generated key (authentication|signature|card-authentication|key-management)
17 --touch-policy string Touch policy for slot (never|always|cached)
18```
19
20### Options inherited from parent commands
21
22```
23 -f, --no-input skip warnings and confirmations
24 --output-file string log output to a file
25 -t, --timeout duration timeout for commands (default 3m0s)
26 -d, --verbose log debug output
27```
28
29### SEE ALSO
30
31* [cosign piv-tool](cosign_piv-tool.md) - Provides utilities for managing a hardware token
32
View as plain text