question

Marcel Tricolici avatar image
Marcel Tricolici asked

API keys are always changing

We've implemented Game Circle in our application (Lost Bubbles).. tested on development machine.. work fine.. when compiled for staging I saw errors about "Failed to decode: Decoding fails: certificate fingerprint can't be verified! " ... " requires an api key to be included in 'assets/ api_key.txt'. GameCircle will not initialize." but api_keys.txt was there.... after investigating We noticed that API keys have changed ! Also we noticed a strange amazon console behavior.. each time I navigate to security profile .. then click on "API Keys" .. api keys are different!!!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Marcel Tricolici avatar image
Marcel Tricolici answered
It seams that they are generated each time we want to see them.. like quantum state of a particles.. you wanna see their state (api key) ..and they are already in another state :)))))
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Marcel Tricolici avatar image
Marcel Tricolici answered
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Marcel, Loved your humorous quotes :) Yes. It's by design that API keys would be changed with each page visit. But all the keys would be valid. Please keep in mind that if you change the signature or package name in your staging build (or release build) you have to get another key from same or different security profile. Also, please ensure there is no extra white space trailing character is not inserted with the key value in the api_key.txt file.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.