Views:

Type 1 has an internal and external key

Type 2 has through key or combination key (running from the shaft to driven unit).