If the idea is to deter aggression -- not to actually use them on a target -- you'd want your enemy to know what you have. It's like brandishing a gun to make someone back off. The threat doesn't work if it's hidden.
This is even a joke in Dr. Stragelove: "they built a doomsday machine but didn't tell anyone about it??"