Reputation: 83
I would like to have my C# application make a connection to Rally using an API Key, but I have not found a method that supports it similar to the JAVA method:
public RallyRestApi(URI server, String apiKey)
Upvotes: 1
Views: 562
Reputation: 5966
You may use this syntax:
restApi = new RallyRestApi( "_abc123","https://rally1.rallydev.com");
where "_abc123" is the key you generated using Rally Application Manager.
I noticed that the documentation does not mention this method of authentication and still shows the old username/password method in the user guide but a commit was made a months ago to support ApiKeys. You have to use 2.0.1 version.
Upvotes: 2
Reputation: 8406
Never heard of Rally before, but looking right in the tag page:
RallyRestApi restApi = new RallyRestApi("[email protected]", "password",
"https://rally1.rallydev.com", "1.40");
Right in the first page of the documentation of the Rally toolkit for .NET.
Upvotes: 0