In iOS 14 or iPadOS 14, go to Settings > Passwords (earlier versions of iOS locate passwords in settings locations); in macOS, open Safari and go to Safari > Preferences > Passwords.
• Unlock password access with Face ID, Touch ID, or your password.
• Select a password entry in iOS/iPadOS; in macOS, select it and then click Details.
• Tap or click the Share icon and an AirDrop sharing sheet appears.
• Tap or click the intended nearby recipient.
The recipient receives the entry in the appropriate location for the operating system: in Settings > Passwords for iOS or iPadOS and in the Passwords tab in preferences in Safari for macOS. The recipient can rename or change the entry before storing it.