WASHINGTON — The Federal Reserve will publish new details about its emergency lending to banks during the 2008 financial crisis after the Supreme Court on Monday rejected an industry appeal for secrecy.

The Fed said it would release detailed information soon about its main emergency aid program, the so-called discount window, breaking a policy of confidentiality that dates to its founding in 1913. The Fed was required by Congress to publish similar data about its other lending programs last year.

“The board will fully comply with the court’s decisions and is preparing to make the information available,” David Skidmore, a Fed spokesman, said.

The disclosures could embarrass some of the nation’s largest banks, which are eager to focus public attention on their renewed profitability, by returning a spotlight to the extent of their dependence on federal aid during the crisis. It also signaled a victory for Bloomberg News, which first requested the data in 2008.