To connect the blueprint designer to Google Cloud Platform, you must create an API key
file for your service account.
Before you begin
Create an account and project on Google Cloud Platform.
Procedure
- Log in to the Google Cloud Platform dashboard.
- From the Google Cloud Platform console, select your project.
- Expand the menu by Google Cloud Platform, and click IAM
& Admin.
- Click Service accounts. You must connect a service
account to the blueprint designer so it can make API calls to Google Cloud. See Using OAuth 2.0 for Server to Server Applications.
- Optional: If you do not have a service account for your project, create
one. To provision environments from the blueprint designer, the service account must be
assigned the Project Owner, Project Editor, or all Compute Engine roles.
- Click CREATE SERVICE ACCOUNT.
- In the Create service account window, type a service account
name.
- From the Role list, select an appropriate role or set of
roles:
- To grant full access to the project, click
.
- To grant edit access to the project, click
- To grant full access to the Compute Engine roles, click Compute Engine,
and then click every role in this category.
- Click CREATE and then click
CLOSE.
- Generate an API key file.
- From the menu near your service account's name, click Create
key.
- In the Create private key for
"your_service_account" window, ensure that
JSON is selected.
- Click CREATE and then click
CLOSE.
The key file is downloaded to your system.