From experience:
you have a right to keep your past a secret, especially the past that includes relationships with an opposite sex. (actually it’s strongly recommended).
Once you are married, their shouldn’t be any secrets at all…
Yes the spouse has a right to know everything that may ultimately affect the family life…