Configuring a Cosmos DB client