ykman piv keys import <SLOT> <PRIVATE-KEY>
Import a private key from file
Arguments
Name | Description |
---|---|
SLOT | PIV slot of the private key |
PRIVATE-KEY | File containing the private key. Use '-' to use stdout |
Options
Name | Description |
---|---|
-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, --help | Show piv keys import usage information |