list-keychains [-h] [-d user|system|common|dynamic] [-s [keychain...]] Display or manipulate the keychain search list. -d user|system|common|dynamic Use the specified preference domain. -s Set the search list to the specified keychains. default-keychain [-h] [-d user|system|common|dynamic] [-s [keychain]] Display or set the default keychain. -d user|system|common|dynamic Use the specified preference domain. -s Set the default keychain to the specified keychain. Unset it if no keychain is specified. login-keychain [-h] [-d user|system|common|dynamic] [-s [keychain]] Display or set the login keychain. -d user|system|common|dynamic Use the specified preference domain. -s Set the login keychain to the specified keychain. Unset it if no keychain is specified. create-keychain [-hP] [-p password] [keychain...] Create keychains and add them to the search list. -P Prompt the user for a password using the SecurityAgent. -p password Use password as the password for the keychains being created. If neither -P or -p password are specified, the user is prompted for a password on the command line. delete-keychain [-h] [keychain...] Delete keychains and remove them from the search list.
“Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing” ~ Helen Keller
Related macOS commands:
security - Administer Keychains, keys, certificates and the Security framework.