When you buy Splatoon 3 digitally from the eShop, the server flags your account ID as having a license. When you buy a physical cartridge, the cartridge is the key.

If you've purchased a physical copy of the game, the license key might be printed on the game case or on a separate card included with the game.