I just found iOS 16 added viewing/copying the password of a known Wi-Fi network. Go to Settings > Wi-Fi > tap the (i) by the network > Password > auth with Face/Touch ID.
I used to use Keychain Access on my Mac to copy a password to Nintendo Switch. Much nicer from iOS.