Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Google API password for the OAuth PKCS p12 private key?

The Google API setup provides a way to create a project with a service account.

I download the private key as a PKCS #12 p12 file.

Where do I find the password for this file?

like image 475
joelparkerhenderson Avatar asked Jul 18 '12 04:07

joelparkerhenderson


People also ask

How do I get Google API postman access token?

Let's start. Open Postman and paste the api we want to inspect under the bar and navigate to the Authorization tab. Postman Get bar displaying the Google Classroom api address and the Authorization tab highlighted. Client ID: Retrieved from the Google Console for your Google Classroom project or the credentials.


1 Answers

Answer: notasecret

https://developers.google.com/console/help/#service_accounts

Your application needs the private key when requesting an OAuth 2.0 access token in server-to-server interactions. Google does not keep a copy of this private key, and this screen is the only place to obtain this particular private key. When you click the "Download private key" button, the PKCS #12 formatted private key is downloaded to your local machine. As the screen indicates, you must securely store this key.

The name of the downloaded private key is the key's thumbprint.

When inspecting the key on your computer, or using the key in your application, you will need to provide the password notasecret. Please note that while the password for all Google-issued private keys is the same (notasecret), each key is cryptographically unique.

like image 96
joelparkerhenderson Avatar answered Nov 26 '22 07:11

joelparkerhenderson