How Do I Obtain the Key in JSON of a Google Cloud Account?

  1. Log in to the Google Cloud console and choose IAM & admin > Service accounts from the navigation tree.

  2. On the Service accounts page, click Manage keys in the Actions column of the account.

  3. Choose Add key > Create new key.

  4. Select the JSON for Key type and click Create. The key file in JSON key is generated and downloaded to your local.