Manage passwords using iCloud Keychain on Mac
If you use iCloud, you can have iCloud Keychain securely store the website login information and credit card information you use with AutoFill in Safari, and your Wi-Fi network information. iCloud Keychain automatically keeps that information up to date across all your devices when you sign in to iCloud with 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.