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?
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With