yubikey-piv-keys-info
Retrieve key type, origin, PIN policy, and touch policy for a YubiKey PIV slot.
Instructions
Get private key metadata for a PIV slot: key type, origin (generated vs imported), PIN policy, touch policy
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Serial number of the YubiKey. Omit if only one key is connected. | |
| slot | Yes | PIV slot to query (e.g. 9a for Authentication, 9c for Digital Signature, 9d for Key Management, 9e for Card Authentication) |