Get api key from config value