Tyk Dashboard: create 1st org/user non-interactively?

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:15:05 +0000.
Sender:[email protected].
Date:Tuesday, 9 June 2015 11:35:13 UTC+1.

Hi all,

I’m just getting started looking at Tyk, and really like it so far.

One minor niggle.
I’m trying to automate the setup and there’s one step that seems to require human intervention, the step that sets up the first user/org for the dashboard,
‘./tyk-analytics --neworg --newuser’
Is it possible to do that non-interactively?

Thanks for any advice,
John

Imported Google Group message.
Sender:Martin Buhr.
Date:Tuesday, 9 June 2015 11:46:03 UTC+1.

Hi John,

Yes it is, using the Advanced Management API, if you take a look here at the quickstart script (it’s a github gist), you can see that this is exactly what we do there to get the docker install set up without having to get the user to interactively enter any data.

Cheers,
Martin

Imported Google Group message.
Sender:[email protected].
Date:Tuesday, 9 June 2015 11:46:03 UTC+1.

Hi John,

Yes it is, using the Advanced Management API, if you take a look here at the quickstart script (it’s a github gist), you can see that this is exactly what we do there to get the docker install set up without having to get the user to interactively enter any data.

Cheers,
Martin

Imported Google Group message.
Sender:Martin Buhr.
Date:Tuesday, 9 June 2015 12:26:45 UTC+1.

Works for me!
Thanks for the speedy reply,
John

  • show quoted text -