Well you'd have an eyewitness that you would need to attack, who is potentially armed. I imagine the solution would be comparable to whatever security protocols ATMs have v. bank tellers.
You are overrating how far truck drivers would go to resist a robbery. That's not their job, and the load is insured - even if a driver is there, they're not going to do anything to stop you.