During a 90-minute hearing in Washington, Judge Tanya S. Chutkan also warned the former president against any attempt to intimidate witnesses or prejudice potential jurors.
Mr. Kerik, a close ally of the pro-Trump lawyer Rudolph W. Giuliani, was asked about Mr. Trump’s fund-raising efforts and attempts to investigate fraud in the 2020 election.
The orders, which can vary greatly in severity, generally ask that the defense use discovery evidence only to pursue actions related to the case itself and to not release it widely.
The former president appeared in federal court in Washington after being indicted over his efforts to overturn his defeat in 2020. His first pretrial hearing was set for Aug. 28.
Former President Donald Trump’s supporters have made inaccurate claims about the judge presiding over his case and misleadingly compared his conduct to that of other politicians.