If you mean the key in keyway that keeps the pulley from spinning on its shaft.
You don't pull it out, you press out the pulley collar, that locks the pulley in place.
Do this buy driving grade 8 bolts into the treaded holes in the collar.
If that is not what you mean then please explain.