Tyk Rest API cloud


#1

Imported Google Group message. Original thread at: https://groups.google.com/forum/#!topic/tyk-community-support/iYjMwyfX65M Import Date: 2016-01-19 21:34:47 +0000.
Sender:[email protected].
Date:Friday, 11 December 2015 21:33:12 UTC.

Hi,

can anyone help me with obtain x-tyk-authorization secret when using cloud setup . initially i was using custom installation of tyk and its stack . But i am facing persistence issue with redis , hence i decided to move to tyk cloud .I obtained x-tyk-authorization secret from tyk.conf file when installed locally . But how can i obtain the same from cloud configuration

Thanks
Kalyan


#2

Imported Google Group message.
Sender:Martin Buhr.
Date:Friday, 11 December 2015 21:37:54 UTC.

Hi Kalyan,
Tyk Cloud is a closed, multi-tenant, distributed install of Tyk, you won’t be able to have the same level of access to cloud as you will with self-hosted. With cloud all API calls must go through the Advanced API.
What kind of persistence issues were you having? Did you enable the persistence options in Redis?
Many thanks,
Martin


#3

Imported Google Group message.
Sender:Kalyan Kuramana.
Date:Friday, 11 December 2015 21:48:03 UTC.

Hi Martin,
Thanks for the quick reply .

Then how would i use tyk restApi like APIID/tyk.oauth/authorize-client or APIID/oauth/token

also , i am clueless on redis, i tried so many thingslike vm.overcommit memory to 1 but none seems to persist it . could you provide me a sample conf file for redis if its not too much trouble or point me to things i can change in configuration

redis doesnot crash somehow i loosing oauth clients i have generated periodically

  • show quoted text -

  • show quoted text -


You received this message because you are subscribed to a topic in the Google Groups “Tyk Community Support” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tyk-community-support/iYjMwyfX65M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/c513c80a-2396-4c3c-8d19-63ac776515d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


#4

Imported Google Group message.
Sender:Martin Buhr.
Date:Friday, 11 December 2015 22:00:05 UTC.

Ah I see, that’s a good point, that API is not exposed as part of the advanced wrapper - we’ll need to address that.
You need to set
appendonly yes
To have it save to disk.
Take a look at the options here:
http://redis.io/topics/persistence
I’m not sure why your clients are vanishing. Is any other data missing, like key data?
Thanks,
Martin