This all depends what type of secret.
If it is a deceiving one, definitely NO, however if someone tell you something in confidence, then I think it is OK.
I also think it is OK to tell "little white lies" as sometimes these are harmless and just make life a bit easier, so as long as you are not deceiving someone big time, I think it is sometimes OK.