allow config of api key