Originally, 'spurs' were awarded to knights. Think of 'earn your spurs' as achieving an honor. After her successful negotiation, she had earned her spurs with the team.
Pro Tip 2/3
Figurative Achievement
It's used to describe achievements that are figurative, not actual 'spurs'. He finally earned his spurs with a stellar performance in the finals.
Pro Tip 3/3
Career Milestone
Often refers to reaching a significant point or recognition in one's career. She won her spurs after leading a highly successful campaign.