modifying the configuration api key getter (add instance method)