You can save your passwords in the iCloud keychain. However, there are other apps like Bitwarden, SafeInCloud and Password Safe which you use to keep your passwords in one place.