Upon the principal debtor’s default, the surety is contractually obligated to perform unless the principal herself or someone on her behalf discharges the obligation. When the surety performs, it must do so in good faith. Because the principal debtor’s defenses are generally limited.