Hell yeah Dan!

 

this will make things a lot easier and is a good starting point.

 

Thank you very very much!

 

Cheers,

Sascha

 

Original Message

processed by CONSOLIDATE

Subject:

Re: [galaxy-dev] Looking for recommendations: How to run galaxy workflows

Sent:

Donnerstag, 19. Juli 2012 15:31

From:

Daniel Blankenberg (dan@bx.psu.edu)

Hi Sascha and Geert,


A quick and dirty way to get the API key during tool execution would be something like:

${ __app__.model.User.get( $__user_id__ ).api_keys[0].key }


Of course, it would be better if there were a more straightforward way to access the key. It would also be a good idea to add some checking for e.g. a logged in user and that the user has an API key set. 



Thanks for using Galaxy,


Dan



On Jul 19, 2012, at 5:52 AM, Sascha Kastens wrote:


Hi!

 

Yeah, it seems that there is now way to request the API key automatically.

One simple apporach would be an extra text input field where the user has

to enter his or her API key.

 

In my use case it will be better to use a file for mapping $__user_id__ -> api_key.

We run Galaxy only locally, so it would not be a security issue at all.

 

Cheers,

Sascha

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/