Revealing a secret is most effective psychologically when the timing is right.

Literal

Secret [object-を] reveal [nominalizer-の] [topic-は], psychologically most effective time [copula-である].

ばくろする (暴露する) means 'to expose, reveal.' 心理的に means 'psychologically.' The sentence reads like advice from a strategy guide or psychological commentary.