The usual examples of a posteriori necessities are identities between kinds and objects under two descriptions, at least one of which involves a contingent mode of presentation, such as water (presented as “the stuff in this pond”, say) and H2O.
Such a posteriori necessities are certainly interesting. But we should not assume that these exhaust the scope of all a posteriori necessities.
For instance, Thomas Aquinas was committed to the existence of God being an a posteriori necessity: he held that necessarily God existed, but that all a priori arguments for the existence of God failed, while some a posteriori ones, like the Five Ways, succeeded.
For another theistic example, let p be an unprovable mathematical truth. Then p is, presumably, not a priori knowable. But God could reveal the truth of p, in which case we would know it a posteriori, via observation of God’s revelation. And, plausibly, mathematical truths are necessary.
For a third example, we could imagine a world where there is an odd law of nature: if anyone asserts a false mathematical statement, they immediately acquire hideous warts. In that world, all mathematical truths, including the unprovable ones, would be knowable a posteriori.