Reputation: 12244
Most of the online tutorials have the client_secret and client_id stored the local environment so I guess that would mean you export it from your .bash_profile for developing on your local computer. Is that correct?
The credentials.json file I downloaded from https://console.cloud.google.com had the XML nested in a web tag which made it difficult to open the local file and json.Unmarshal for use in local development.
Where should the credentials be stored when I upload to the AppEngine cloud servers?
Upvotes: 0
Views: 233
Reputation: 879
When you deploy an App in GAE, it will use the default service account in your project which is already authorized. Therefore, you don't need to specify credentials when running an App from the inside. You can also specify manually which service account to use, but it's not needed by default. More info here.
Upvotes: 1