The connection is as follows: so also baptism, which corresponds to this figure, now saves us, not as a removal of bodily filth, but as an appeal or earnest request for a good conscience before God. For those who are conscious of good in themselves, that is, those who are devoted to a blameless life, are the very ones who have recourse to holy baptism. What then makes baptism salvific? The resurrection of Christ. For before His suffering and resurrection, Christ declared: "unless one is born of water and the Spirit, he cannot enter the Kingdom of God" (John 3:5), and after the resurrection He ...commanded to baptize all the nations that come "in the name of the Father and of the Son and of the Holy Spirit" (Matt. 28:19). And as to the words, "Remains at the right hand of God, and to Whom Angels and Authorities and Powers have been subjected": to whom is this "to him"? To the man taken by Him into union with Himself.
Source: Commentary on 1 Peter