Manage passwords using iCloud Keychain on Mac
If you use iCloud, you can have iCloud Keychain securely store your Wi-Fi network information as well as the website login and credit card details you use with AutoFill in Safari. iCloud Keychain automatically keeps that information up to date across all your devices where you sign in to the same Apple Account and turn on Passwords in iCloud settings.
iCloud Keychain also stores login information for the accounts you use in Mail, Contacts, Calendar and Messages so it’s available on all your devices. Learn more about iCloud Keychain.
Tip: When you use passwords and credit cards online, you can let Safari store them in your keychain and automatically fill them in for you. If you also use iCloud Keychain on your iPhone, iPad and Mac, Safari can fill in the stored information on any of your devices. See AutoFill credit card info in Safari.