open sesame
noun
[ ˌəʊpən ˈsɛsəmi ]
• a free or unrestricted means of admission or access.
• "academic success is not an automatic open sesame to the job market"
Origin:
early 18th century: from the magic formula in the tale of Ali Baba and the Forty Thieves (see Ali Baba).