Key Switch with an Arduino

akashroy:
I'm trying to have a key switch, tabular solenoid and a (push) limit switch connected as an input to certain pins on an arduino.

I don't see how you would connect a solenoid as an input.

akashroy:
I have been told I need a solenoid driver or a relay.

If the solenoid is to be an output then yes: to drive a solenoid, you need some sort of driver circuit. It can be done quite simply and there are plenty of examples on this site. Or, you may be able to use a motor drive shield if you can find one that can support the voltage and current needed by the solenoid.