Api now support setting the key via code.