You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document explain that in order to build GC's image user has to download json formatted account_file and client_secrets_file from GC and put paths of these files in script. and kindly explain how to download these files.
However Unfortunately, In this document, there was an incorrect step to get an account file. it describes that when creating a new OAuth of GC, user can download a json formatted account file. But the file wasn't json but p12 authentication file.
In fact, user actually just need to put the client_secrets_file instead of account_file. The client_secrets_file includes entire information of account_file.
Thus, please fix the document to prevent user to download and use wrong file (*.p12) or change API not to use account_file parameters.
Best regards
Bae
The text was updated successfully, but these errors were encountered:
In the Google Cloud Platform console, credentials section, you can download either a JSON or a P12 file containing keys for a given service account. The "Generate new JSON key" button will both generate a new key (added to the existing keys) and automatically download it in your browser. Same for the "Generate new P12 key" button.
Hi @BS-BAE - just merged #1679 which updates auth mechanisms and cleans up the docs consistent with @sparkprime's comment. I believe this will address the confusing docs.
I'm assuming this covers the issue and am closing it out. Update the issue if you disagree.
Hi,
I'd tried to build an image of GC with packer and followed a document GOOGLE COMPUTE BUILDER (http://www.packer.io/docs/builders/googlecompute.html).
This document explain that in order to build GC's image user has to download json formatted account_file and client_secrets_file from GC and put paths of these files in script. and kindly explain how to download these files.
However Unfortunately, In this document, there was an incorrect step to get an account file. it describes that when creating a new OAuth of GC, user can download a json formatted account file. But the file wasn't json but p12 authentication file.
In fact, user actually just need to put the client_secrets_file instead of account_file. The client_secrets_file includes entire information of account_file.
Thus, please fix the document to prevent user to download and use wrong file (*.p12) or change API not to use account_file parameters.
Best regards
Bae
The text was updated successfully, but these errors were encountered: