Yubikeys have a settings for storing a “static secret” which is just a static password that is stored on the device. When the yubikey is activated, it types that password into whatever field you have active on your computer. My password is a long string of text. The first portion of that text is the secret from the yubikey. The second portion is a password I have memorized.