LoRaWAN security: Can the Network Server generate the AppSKey?

But this violates the fact that NwkSKey is only between the network server and the end device cause in this case the handler has both keys. Right?