Credit default swaps (CDS) provide insurance against the default of a debt issuer. With a CDS, the buyer pays a premium to a seller for this protection. If the issuer defaults, the seller ...
And so you're willing to pay a premium ... to the counterparty to insure your risk, even though you don't think that's a very big risk. That's right. ... Why would you write a credit default swap?