A niche in the Temple of Fame. The Temple of Fame was the Pantheon, converted (1791) into a receptacle for illustrious Frenchmen. A niche in the temple is a place for a monument recording your name and deeds.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Niche from Infoplease: