Visualizing Keychain Item Details I'm a developer working on doing some keychain related features. A piece of my application changes / looks for items in the keychain. However, visually verifying some of these changes can be difficult because the Keychain Access.app doesn't show all of the fields. For example, the kSecProtocolItemAttr attribute for internet passwords is not displayed in the Keychain app.

Is there a better way (Command line or other) to visual items that are in a .keychain file, that show all of the properties associated with that item?
The CLI for keychains is: security.

It lets you do many things such as…


Getting item info:

security find-generic-password -a &lt;item-name&gt;

Getting passwords:

security 2&gt;&amp;1 &gt;/dev/null find-generic-password -ga &lt;item-name&gt;



Read the man page for more info or do security help.