Haram
The Prophet ﷺ said: everyone in my community will be forgiven except those who make their sins public – someone who does something at night that Allah has kept hidden and tells everyone about it in the morning.
Source: Sahih al-Bukhari 6069 · Sahih Muslim 2990