[Iplant-api-dev] Logging into AGAVE API with iPlant credentials

Rion Dooley dooley at tacc.utexas.edu
Fri Nov 15 13:03:31 MST 2013


The Agave beta api is hosted at https://iplant-dev.tacc.utexas.edu/v2

You MUST pull a token from the auth service and use that to interact with any of the other services. Your u/p will not work when calling any of the Agave services directly

The error you see is from Bash itself. Try single quoting your u/p (ex. curl -sku 'username:pA$$worD!' -XPOST -d "lifetime=3600" https://iplant-dev.tacc.utexas.edu/v2/auth/). Life will get a LOT easier for you if you use the Agave CLI. There's nothing to "install." Just download it and add the bin directory to your path. When you use the CLI, you can see the generated curl commands by adding the -V flag to any command. The -h option gives you the usage.

I would like to reiterate that this is the beta instance of Agave. The production version is up now and we're just waiting on DNS (and me to land in Denver) to announce it. You can expect to see an update in the documentation and tutorials on Monday to reflect the production version.

--
Rion





On Nov 15, 2013, at 12:36 PM, Ramona Walls <rwalls at iplantcollaborative.org<mailto:rwalls at iplantcollaborative.org>>
 wrote:

According to the tutorials (http://agaveapi.co/getting-started-with-the-agave-api/) I should be able to access the AGAVE API with my iPlant login. It is not working for me. I just use the Foundation API to create a token, so I know I am typing the curl command correctly. Do I need special permission to use AGAVE?

On a side note, if I try to use curl (with either AGAVE or Foundation) with "my_user_name:my_password", I get an error (-bash: !": event not found) because my password ends in an exclamation point. It doesn't work if I double quote it either, but it works if I just leave it out and enter the password separately. I can change my password, but it would be nice if users' passwords could end in special characters.

Ramona
------------------------------------------------------
Ramona L. Walls, Ph.D.
Scientific Analyst
The iPlant Collaborative
Thomas J. Keating Bioresearch Building
1657 East Helen St
Tucson, AZ  85721
tel: 520.626.1489
fax: 520.626.4824
rwalls at iplantcollaborative.org<mailto:rwalls at iplantcollaborative.org>
_______________________________________________
Iplant-api-dev Mailing List: Iplant-api-dev at iplantcollaborative.org<mailto:Iplant-api-dev at iplantcollaborative.org>
List Info and Archives: http://mail.iplantcollaborative.org/mailman/listinfo/iplant-api-dev
One-click Unsubscribe: http://mail.iplantcollaborative.org/mailman/options/iplant-api-dev/dooley%40tacc.utexas.edu?unsub=1&unsubconfirm=1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20131115/3a85654b/attachment.html 


More information about the Iplant-api-dev mailing list