use apikey and apisecret from namespace