ykman piv keys import <SLOT> <PRIVATE-KEY>

Import a private key from file

Arguments

NameDescription
SLOTPIV slot of the private key
PRIVATE-KEYFile containing the private key. Use '-' to use stdout

Options

NameDescription
-P, --pin <TEXT>PIN code
-m, --management-key <TEXT>The management key
--pin-policy <policy>PIN policy for slot
--touch-policy <policy>Touch policy for slot
-p, --password <TEXT>Password used to decrypt the private key
-h, --helpShow piv keys import usage information