Analysis of information sources in references of the Wikipedia article "Pearly gates" in English language version.
The passage moves from a building, to gates, to keys. A popular image has Peter as the doorkeeper of heaven, deciding admission through the pearly gates to each person at death. This understanding of Peter goes back to an early medieval interpretation that identified Peter with a figure in Germanic mythology who was the porter of heaven.