Tradition holds that Sasuke Inari Shrine was created by Minamoto no Yoritomo.
While in exile in Izu, Yoritomo was visited in a dream by an old man from the Hidden Village of Kamakura who instructed Yoritomo of the timing to begin battling his enemies.
When Yoritomo succeeded and became shōgun, he created this shrine in gratitude.
An alternative to this story has an Inari Fox messenger appearing in Yoritomo's dream.

According to Kamakura Historian Shimizu Ginzō, the hidden village that was adjacent to the shrine was the dwelling of a band of people that were the antecedents to the Ninja.
 The remoteness and easy defensibility provided the necessary seclusion to conduct their activities which included elimination of enemies of the Kamakura shogunate.
Tradition holds that Sasuke Inari Shrine was created by Minamoto no Yoritomo. While in exile in Izu, Yoritomo was visited in a dream by an old man from the Hidden Village of Kamakura who instructed Yoritomo of the timing to begin battling his enemies. When Yoritomo succeeded and became shōgun, he created this shrine in gratitude. An alternative to this story has an Inari Fox messenger appearing in Yoritomo's dream.
According to Kamakura Historian Shimizu Ginzō, the hidden village that was adjacent to the shrine was the dwelling of a band of people that were the antecedents to the Ninja.  The remoteness and easy defensibility provided the necessary seclusion to conduct their activities which included elimination of enemies of the Kamakura shogunate.
Sasuke Inari Shrine