Doesn’t a secret have to involve more than one person? Otherwise, seems it would just be a thought that you didn’t tell anyone.
Secrets involve more than just thoughts. No one else need be involved. How many people know today's launch codes for ICBMs?
Secrets also might involve actions, hard information, or observations.
It is not revealing that knowledge or action which makes it secret--and keeps it that way.