For example, you can easily perform the operation you performed by sending the password saved on the iPhone to the Mac.

iPhone/iPad - Send Password via AirDrop