Overview
The Golden Key is a fairy tale written by George MacDonald. It was published in Dealings with the Fairies (1867).
It is particularly noted for the intensity of the suggestive imagery, which implies a spiritual meaning to the story without providing a transparent allegory for the events in it.
Plot summary
A young boy listens to his Great-aunt's stories about a magical golden key found at the end of a rainbow. One day, he sees an immense rainbow and sets out to find its end in an enchanted forest. As the forest is in Fairyland where everything has an opposite effect, the rainbow only glows brighter when the sun sets. He finds the key, then it dawns on him that he does not know where the lock is.
In the same village on the border of this forest, a merchant's neglected daughter is frightened by the fairies. Their first attempt fails but when they make her think the three bears are coming into her bedroom, she flees into the woods.
From Wikipedia (CC BY-SA 4.0).