Yes you could use a key, or you could use gears with a hex hole, and a hex shaft to connect them.
Some of these gears have hex broached holes in them
http://www.andymark.com/SS-Gears-s/209.htm
Look around on the AndyMark web site, there is a lot of useful stuff there!