With a stand mixer fitted with a paddle attachment or with a hand mixer in a large bowl, beat the butter with the brown and granulated sugars, kosher salt, and vanilla until soft and creamy. If you started with cold butter in a stand mixer, you'll need to beat it for several minutes until it's smooth, scraping down the bowl two or three times so that it evenly mixes.