1Password makes this fairly easy. I’m sure other tools can too. But if you’ve got a tool, you just don’t need to think about it. As long as 1Password doesn’t get LastPass’d - although their architecture should prevent that.
This happened to me with Minecraft. It was amazing what a pain in the ass they made it to give them some money and then the gaslighting and hassle I had to endure to get what I paid for.