One of the 20th century’s most powerful creations was the rock star: the preening, erotic god of guitar-fired defiance. But those who embodied that character didn’t spring from nowhere. Managers groomed them and shaped them, and in the classic rock era those managers were often gay men.

For decades, the close relationships between the managers and the predominantly straight musicians they advised were not discussed much. Lately, however, they have become a point of pride and celebration.

“The Fifth Beatle,” a recent graphic novel that focuses on the personal life of the Fab Four’s gay manager, Brian Epstein, was a New York Times best seller and is now in development as a six-part mini-series, with the approval of the Beatles’ estate. And the documentary film “Lambert & Stamp” made clear the important role played by Kit Lambert, the gay co-manager of the Who, in shaping the band’s identity.

Another image maker of the classic-rock era, Jann Wenner, the co-founder of Rolling Stone, is the subject of a new biography by Joe Hagan, “Sticky Fingers: The Life and Times of Jann Wenner and Rolling Stone Magazine,” which stresses the role his sexuality played in his presentations of male rock stars throughout the magazine’s history. (Mr. Wenner did not come out to the press until the mid-1990s).