问题
I'm trying to do a simple python script that pulls data from Google BigQuery. I've found many posts and google documents on Bigquery, but I've yet to have any success. My current problem is that I need to read my API key from a PEM file, but I can't find any way to download my API key from the google dev console. All I can do is copy/paste the text.
回答1:
You have to create a new client Id with a type of "service account" this will download a new p12 file.

来源:https://stackoverflow.com/questions/21607896/how-can-i-download-my-google-api-key-as-pem-file