I tried to enable and use YubiKey on Snap version but YubiKey doesn't shows on the list of valid devices. I done a comparison with Debian package (same version 2.2.0) and works fine. So I think the problem could be related to Snap access to USB devices.