を秘密にしておいた

kept … secret

→ を
phrase Rare #24,124
kept … secret The を marks what was kept secret. おいた indicates that it was kept that way.
JA: 彼女はその計画を秘密にしておいた。
EN: She kept the plan secret.