Key stock is a small metal block or wedge inserted between a shaft and the hub of a pulley, gear, sprocket, or other rotating power device. It provides driving torque and prevents movement. Keystock is generally square, rectangular, stepped or flat and made from carbon steel or stainless steel.