William Clayton records Joseph teaching Adam being the "Ancient of Days" who presides over the spirits of all men and holds keys of the gospel.
Discourse, between circa 26 June and circa 4 August 1839–A, as Reported by William Clayton, 12, The Joseph Smith Papers website, accessed February 8, 2022
The keys have to be brought from heaven whenever the gospel is sent. When they are revealed from heaven it is by Adam’s authority. Daniel 7. speaks of the Ancient of Days, he means the oldest man our Father Adam, Michael. He will call his children together and hold a council with them to prepare them for the coming of the Son of man. He (Adam) is the father of the human family and presides over the spirits of all men, and all that have had the keys must stand before him in this great council.