The woodruff key locates the pulley on the shaft. It can be prised out with a small screwdriver.
The most common reason for removing a dynamo pulley is to fit it on a new dynamo — most...