ykman piv keys export <SLOT> <PUBLIC-KEY>
Export a public key corresponding to a stored private key
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 |
---|---|
-F, --format <format> | Encoding format |
-v, --verify | Verify that the public key matches the private key in the slot |
-P, --pin <TEXT> | PIN code (used for --verify) |
-h, --help | Show piv keys attest usage information |