Recover iCloud password on terminal
Your password will be in Keychain if you have ever signed in to the web site directly.
You're looking for the one that's listed as www.icloud.com(name@email.com) as a Web form password in the iCloud keychain.
None of the other items in Keychain that look like passwords are in fact &quot;the password&quot;, they are all encrypted tokens of some sort &amp; probably indecipherable.