Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot download google credentials json file

At this website https://cloud.google.com/life-sciences/docs/how-tos/getting-started#download_credentials_for_api_access it says:

After creating your credentials, download the client_secret.json file by going to the Credentials page in the Cloud Console and clicking Download JSON file_download.

The credentials page is hyperlinked. But when you go to that page there is no such button named download json file. Here is a screenshot of the page:

page

I really wish Google would learn to write clear documentation.

I should also add that the website has the following cryptic instructions:

Use this key in your application by passing it with key=API_KEY parameter.

I don't know what it means to pass a key. If the writers would have provided an example that would certainly have helped. I have the key and that might solve my problem, I just don't know what to do with it.

like image 595
logic1976 Avatar asked Aug 31 '25 02:08

logic1976


2 Answers

This may be late, but this may help if anyone is still having this issue

  1. After creating the service account
  2. Select/click the from the account listing
  3. Goto the keys tab
  4. Click Add Key and select create key
  5. Then select JSON and the file will be downloaded

refer here https://cloud.google.com/docs/authentication/getting-started?authuser=1#creating_a_service_account

like image 133
Abdullateef Muibudeen Avatar answered Sep 04 '25 12:09

Abdullateef Muibudeen


You haven't made a OAuth credential. Click Create credentials > Oauth Client ID. Set the application type to Other and complete the form. After creating your credentials, download the client_secret.json file by going to the Credentials page in the Cloud Console and clicking Download JSON file_download. Securely store the file in a location that only your application can access.

like image 26
user245255 Avatar answered Sep 04 '25 10:09

user245255