Go to OSX Daily to read How to Recover Recently Deleted Passwords on Mac
Forgetting or losing a password is a hassle, but assuming you save your logins and passwords with iCloud Keychain, that happens less and less. But you can still delete a password or login, whether intentionally or accidentally, and then end up needing access to that login information or password later.
Fortunately the Mac offers a great solution that makes it easy to recover any recently deleted passwords or logins, if you had previously saved them to iCloud Keychain. And Apple offers a solid grace period, you have up to 30 days to recover a deleted password!…
Read more: How to Recover Recently Deleted Passwords on Mac