integration

Connect to GCP

Lewis Sheridan
#gcp

Creating a Service Principal in GCP

  1. Login to https://console.cloud.google.com
  2. Go to IAM and admin > Service accounts
  3. Select a Project and click on Create Service Account
  4. Enter a service account name e.g. backplane-api and a description e.g. For Backplane API environment provisioning
  5. Click Create and Continue
  6. Click on Done.
  7. Click on IAM and switch to the Organisation level.
  8. Click on Grant Access
  9. Enter the service principal name e.g. backplane-demo@backplane-core.iam.gserfviceaccount.com
  10. In role, find Project Creator, click Save.
  11. Go back to your Project and click on IAM and Admin and then Service Accounts
  12. Click on your Service Account and select Keys, Add Key, Create New Key. Use JSON as the Key Type. Click on Create. This will download a .json file.
  13. Finally, go to APIs and Services and ensure Cloud Resource Manager API is enabled.

The downloaded JSON is now ready to be used in your Org.

Add GCP Credentials via CLI

bp cloud gcp add --id "<OrgID>" --tenantid "<Enter Google Org ID>" --gcpsecret "<path-to-JSON-file>"
← Back to Documentation