Driving 12V signal from 5V pin

That feels like overkill. I already have a 12V signal from Vin. I just need a way to switch it to the eeprom based on a 5v pin. Yes, that should work, but isn't there a simpler way?