Alternator and engine fan question

Correct me if I'm wrong here - I have a query about the alternator/engine fan/ pulley assembly.
The alternator shaft needs to spin to enable it to function - in this case to re-charge the battery. The engine fan sits around the alternator shaft via the fan hub bearing. The engine fan is then bolted onto the pulley shims, and the engine fan will spin as long as the the engine fan belt is intact and is being powered by the engine crank pulley.
But the engine fan bearing hub, nor the belt shims are connected to the alternator shaft in any way. They can spin freely of each other. So how does the alternator shaft spin - if it is not tied to the pulley in any way ?

When I ran the RS hub I had only two.
With the SC I have two as well.
But there is still nothing connecting the hub, fan, or belt shims to the shaft. The crank shaft on the other hand has a pin that locks the crank pulley to the shaft. I looked at the PET and there is definetly no pin for the alternator shaft to the fan or pulley.
I know it all works - and I am assuming that the hold on the shaft by the shims is tight enough to keep the alternator spinning.

So logically - the fan will move - but how does the alternator shaft move?
This is what I'm trying to get at.
Might it be the contact from the friction from the shalf bolt on the front of the pulley.


