CAIRO — When it comes to securing a second term in power, Egypt’s president is leaving little to chance.

Potential rivals in the March election have been sidelined, jailed or threatened with prosecution. The news media is largely in his pocket. On polling day, Egyptians will have a choice between President Abdel Fattah el-Sisi and one of his most ardent supporters — an obscure politician drafted at the 11th hour to avoid the embarrassment of a one-horse race.

As he cruises toward victory, Mr. Sisi need not worry either about foreign censure: President Trump has hailed the Egyptian leader as a “fantastic guy,” and most other Western leaders have been largely silent.

Across the world, autocratic leaders are engaging in increasingly brazen behavior — rigging votes, muzzling the press and persecuting opponents — as they dispense with even a fig leaf of democratic practice once offered to placate the United States or gain international legitimacy.