Windows 8.x had the license key in UEFI/BIOS. Windows 10 keeps a digital entitlement for your hardware configuration on a server somewhere.
If your equipment has a valid digital entitlement to run Windows 10, then reinstalling shouldn't affect that, and Windows 10 should activate on it's own without you needing to enter any sort of key.