for key configuration