Cotter pins are typically used to prevent axial movement along a shaft. They’re either a wedge or tapered pin that’s driven into a hole.(…)
via What are cotter pins? | Fastener Engineering.