To be in the know / To be in on it
Literally 'to be in the garlic'. Describes someone who is aware of a secret plan or involved in something that others don't know about.
She was in the know from the beginning.
—Did you know? —Yes, I was in on it.
Only three people were in the know.