Viewing Token and Certificate Information

You can use the command line to view information about available tokens and certificates.

List Available Tokens

To view the available tokens:

  1. Open Terminal.

  2. Run the following command:

Copy
sudo security list-smartcards

This command displays the smart cards and keys available in the system.

List Certificates

To view the available certificates:

  1. Open Terminal.

  2. Run the following command:

Copy
system_profiler SPSmartCardsDataType

This command provides detailed information about connected tokens and readers, including available certificates.