renamed apiKey/apiSecret to publicKey/secretKey