If your Mac account is password protected, it may prompt you to enter your account password. To do so, follow the procedure given below: Now that we are done with the setup, we can proceed to view the saved WiFi passwords.
Next, head back to Settings and turn on Personal Hotspot.On your iPhone, navigate to Settings > iCloud > Keychain and turn on iCloud keychain.If you’re using Windows, you should give this method a pass. Note: Obviously, this procedure requires a Mac.