Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top