Start with Deleted in the Passwords app. Deleted passwords and passkeys can generally be recovered there for up to 30 days. Apple's recovery instructions and this iDownloadBlog walkthrough explain the built-in recovery process.
This guide grew out of a nasty failure I encountered: during password/passkey changes, an existing account entry lost its OTP generator, and the missing setup key never appeared in Deleted. I wrote it for others facing that gap, especially when waiting for the website to reset 2FA is impractical or a reset is unavailable.
The method below recovers passwords, earlier password versions, and OTP setup keys from Time Machine backups. Use recovered keys to rebuild a lost verification-code generator or migrate it to another authentica