Programmatically Export iCloud Keychain

Hi All,


I'm looking for a way to export my iCloud Keychain in PlainText as I need to import the passwords in another location.


In High Sierra, it's not possible to use the existing AppleScripts to enter my credentials at the password prompt to copy them to a local Keychain. Any ideas?


Thanks,

B.