find-generic-password [-h] [-a account] [-s service] [-options...] [-g] [-keychain...]
Find a generic password item.
delete-generic-password [-h] [-a account] [-s service] [-options...] [-keychain...]
Delete a generic password item.
-a account Match account string
-c creator Match creator (four-character code)
-C type Match type (four-character code)
-D kind Match kind string
-G value Match value string (generic attribute)
-j comment Match comment string
-l label Match label string
-s service Match service string
-g Display the password for the item found
delete-internet-password [-h] [-a account] [-s server] [options...] [keychain...]
Delete an internet password item.
find-internet-password [-h] [-a account] [-s server] [options...] [-g] [keychain...]
Find an internet password item.
-a account Match account string
-c creator Match creator (four-character code)
-C type Match type (four-character code)
-d securityDomain
Match securityDomain string
-D kind Match kind string
-j comment Match comment string
-l label Match label string
-p path Match path string
-P port Match port number
-r protocol Match protocol (four-character code)
-s server Match server string
-t authenticationType
Match authenticationType (four-character code)
-g Display the password for the item found
“The man who looks for security, even in the mind, is like a man who would chop off his limbs in order to have artificial ones which will give him no pain or trouble” ~ Henry Miller (The Rosy Crucifixion I )
Related macOS commands:
security - Administer Keychains, keys, certificates and the Security framework.