apikey getter
preparation for unittesting