Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rally: How to generate an API Key?

Tags:

rally

I'm trying to follow the Java example on GitHub for using the RallyRestApi in java. The first line of code creates a RallyRestApi object using two parameters. The first is the server, but I cannot figure out how to generate an 'apiKey'. Can someone share how this is done?

Here is the example I'm following https://github.com/RallyTools/RallyRestToolkitForJava/wiki/User-Guide

like image 799
Bill Spens Avatar asked Jul 14 '14 21:07

Bill Spens


People also ask

How do I add a connection in rally?

On your Flow home page, go to the top navigation bar and click Settings. Using the left navigation under Integrations, click Integrations. Click Add Integration in the top right hand corner of your integrations screen.

How do API keys work?

API keys provide project authorization They are generated on the project making the call, and you can restrict their use to an environment such as an IP address range, or an Android or iOS app. By identifying the calling project, you can use API keys to associate usage information with that project.


2 Answers

Go to https://rally1.rallydev.com/login. You can generate api keys there. It'd be awesome if they noted that in their getting started guides.

like image 197
djeikyb Avatar answered Oct 17 '22 06:10

djeikyb


The comment in the original question above should be the accepted answer. For what it's worth however there is still a constructor which takes server, username, password as well (although this is considered deprecated in favor of the api key approach)

//preferred
RallyRestApi api = new RallyRestApi(new URI("https://rally1.rallydev.com", "myAPIKey");

//deprecated, but still possible
RallyRestApi api = new RallyRestApi(new URI("https://rally1.rallydev.com", "username", "password");
like image 1
Kyle Morse Avatar answered Oct 17 '22 04:10

Kyle Morse