Generate app key on the fly