Added secret when publoshing events