Storing your password in iCloud is a good way to ensure your logins are safe and easy to access yourself. Thankfully it's easy to access these passwords on the Mac if you need them in a hurry.
To access this information click on the magnifying glass and type in keychain access, here there will be a list of sites that you have logins saved.
-For example, iCloud.com would show simply double click on this and it will show you your username -click show password -you will be prompted for your password used to log into your mac to confirm your identity
once you have input this information you will be shown the password for that login
We hope you find this useful to see how to access your passwords on an iPhone click here.