A key switch is a mechanically operated switch that uses a matching key to control the electrical functions of a vehicle or machine. Among other things, it is used to activate the ignition, starter, drive enable functions, or specific operating modes.