If you already have an admin key in the database - that is more useful
than the master_api_key - I don't believe there is anything that the
master API key can do that the admin API key cannot (let me know if I
am wrong). I created master_api_key mostly just to bootstrap users and
API keys for new installations. So my question is what are you trying
to accomplish with a master API key if you already have an admin API
key? I would be happy to comment on the different ideas you mentioned
- but I want to understand what you are trying to accomplish.
On Tue, Nov 18, 2014 at 8:35 PM, Dooley, Damion <damion.doo...@bccdc.ca> wrote:
> I made the erroneous assumption that if I put my own admin user API key into
> the galaxy configuration master_api_key field, it would accept that and run
> all the api functions that needed a key connected to a user. It took fair
> bit of debugging to realize that the master_api_key field chops off all the
> user info even if it is available (i.e. has no user object), thus yielding
> numerous API errors for those things a user object is needed for.
> I can see a few dev solutions to this dilemma, and am wondering what people
> think - and the result could get into a Trello feature card...
> a) allow master_api_key to be accompanied by a master_api_email; together
> they trigger a user object to be associated that has the email address; and
> this eliminates all the API errors one currently gets. I like this solution
> because it doesn't depend on the UI interface for managing user keys, i.e.
> its rather permanent and secure.
> b) allow a api key called "admin_api_key" to be placed in the galaxy config
> file. This key has to be active as one user's api key (presumably power
> user), so that all those api errors are avoided.
> c) have master_api_key just have a dummy user object included, with say
> admin@localhost for an email address.
> 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:
> To search Galaxy mailing lists use the unified search at:
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:
To search Galaxy mailing lists use the unified search at: