ykman piv keys export <SLOT> <PUBLIC-KEY>

Export a public key corresponding to a stored private key

Arguments

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

Options

NameDescription
-F, --format <format>Encoding format
-v, --verifyVerify that the public key matches the private key in the slot
-P, --pin <TEXT>PIN code (used for --verify)
-h, --helpShow piv keys attest usage information