You think Trump would keep it a secret? Word will get out that the U.S. threatened Pakistan and Pakistan caved. It's not going to play well in that part of the world.
Who is going to tell them? The free and open press in Pakistan? The people know what the gubmint wants them to know.