The only secret kept by virginia from the duke was what took place in the ghosts chamber.ie these events:
*She had accepted to help the ghost attain eternal peace by praying to the angel of death for him.
*She saw many horrible spirits and images but helped him for the greater good.
*The angel of death accepted the ghost due to her strong love for him.
*She fulfilled the prophecy that was written.