Export iCloud items from Keychain to CSV I want to export all my accounts login/password from Keychain. But you have many categories like : login, iCloud, System... in the Keychain menu. In fact I want to export them to 1Password, so I follow this overflow answer.

But in ~/Library/Keychains/ I have only the login.keychain and not the hopefully iCloud.keychain...

I have 422 accounts in the iCloud category and only 5 on the login category...

So my question is, how can I save/export this iCloud category 



into a keychain or .csv file ?

EDIT :

I have already a login.keychain file. But I don't know how I can make an iCloud.keychain file.
A late reply, as I found this post while searching for something related.

You have to create a new keychain, and copy your iCloud keychain items to the new local keychain.  Then you can use the security tool to dump them.

Since this is 1Password-related question, for others in the future, you can use MrC's conversion utility to directly convert the keychain dump into a 1Password consumable 1PIF file.  It is much better than CSV importing.

https://discussions.agilebits.com/discussion/30286/mrcs-convert-to-1password-utility/p1