Definitions for open sesame
Random House Webster's College Dictionary
any marvelously effective means for bringing about a desired result.
Origin of open sesame:
1785–95; from the use of these words by Ali Baba to open the door of the robbers' den in the Arabian Nights tale “Ali Baba and the Forty Thieves”
any very successful means of achieving a result
a magical command; used by Ali Baba
Any successful means of achieving a result, especially means that are magical or technical, or otherwise beyond the understanding of most people.
Origin: Translating Sésame ouvre-toi, in Galland's version of the Ali Baba story in the One Thousand and One Nights, apparently based on an oral source.