GoogleCloudPlatform / android-docs-samples

Apache License 2.0
375 stars 596 forks source link

Please provide content template of credential file! #105

Open XinwenCheng opened 5 years ago

XinwenCheng commented 5 years ago

Can not download credential json file from API Manager > Credentials > Create credentials > Service account key > New service account, this path seems no longer available.

Would you please provide content template of this json, and I can just replace API key with mine and make the demo works, I have no time to find which path I can download, thanks for understanding!

th0bse commented 4 years ago

See .gitignore, *.json files in res/raw/ are excluded, to not accidently expose credentials i guess...

th0bse commented 4 years ago

but here you are, just only the keys without the actual values if this helps:

{ "type": "project_id": "private_key_id": "private_key": "client_email": "client_id": "auth_uri": "token_uri": "authprovider_x509_cert_url": "client_x509_cert_url": }

What you need may actually be different though, remember this is just an example.