JSON key files are available in two format. The format depends on whether the file was created from the Google Control Panel (GCP)/command line or using the REST API. The GCP/command line format should be used. The file should look similar to the following.