ykman piv keys generate <SLOT> <PUBLIC-KEY>
Generate an asymmetric key pair
Arguments
Name | Description |
---|
SLOT | PIV slot of the private key |
PUBLIC-KEY | File containing the generated public key. Use '-' to use stdout |
Options
Name | Description |
---|
-m, --management-key <TEXT> | The management key |
-P, --pin <TEXT> | PIN code |
-a, --algorithm <algorithm> | Algorithm to use in key generation |
-F, --format <format> | Encoding format |
--pin-policy <policy> | PIN policy for slot |
--touch-policy <policy> | Touch policy for slot |
-h, --help | Show piv keys generate usage information |