Can somebody please tell me how do I download the certificate from google cloud console for the service account. I being searching all over the place. I have downloaded the applications authorization credential "client_secret.json"
The client_secret.json has a key "client_x509_cert_url" key which takes me to the json file which has 2 certificates embedded in it. Are this the certificate? if they are how do I use it in java code. I am bit lost over here.
Update (2013-12-18): Google updated the Cloud Console this morning. The new instructions for generating a private key are:
- Open your project.
- Go to "APIs & Auth".
- Go to "Credentials".
- Click "Create new client ID".
- Select "Service Account".
Obsolete instructions (prior to 2013-12-18): Here is how to generate a private key in the Google Cloud Console:
- Open your project.
- Go to "APIs & Auth".
- Go to "Registered apps".
- Click "Register app".
- Select "Web application".
- Open "Certificate".
- Click "Generate Certificate".
- Click "Download Private Key".
- Click "View Public Key" to dismiss the dialog.
The URL in the JSON instead takes you to a public URL where the public key for corresponding private key can be found - that's not what you are looking for.