task to generate key license