The Consumer Financial Protection Bureau will continue to publish its database of consumer complaints about financial companies, ending — for now — a battle over public access to one of the agency’s most powerful tools.

“The database is here to stay,” Kathleen Kraninger, the bureau’s director, said Wednesday at a consumer conference in Rosemont, Ill., outside Chicago.

Since 2011, the bureau has maintained an open and searchable record of more than one million consumer accusations of inaccurate bills, illegal fees, improper overdraft charges, mistakes on loans and a long list of other issues. Companies have complained that the database unfairly harms their reputations by spreading unverified negative information, but consumer advocates say it’s a vital tool for spotting problems and patterns of bad conduct.

Consumer groups had worried that the database — which contains information the bureau is legally required to collect — could be made private as the bureau shifted in a business-friendly direction under President Trump, who has pushed to reduce government regulation.