Are you referring to Airdrop password and passkey sharing?[1] That’s the only way I can find other than manual copy/paste.
Also, I very much doubt if I later change the password I shared via Airdrop that it will update on the other person’s device… which is half the point.
[1]: https://support.apple.com/guide/iphone/share-passkeys-passwo...