Obtain Google Cloud Platform credentials

This page describes how to obtain credentials to use your GCP account via API with Abiquo

These instructions are a guide only. Always check your cloud provider documentation for up to date information.

Note that when you are first configuring your account, you may need to wait a little while for information to propagate throughout the Google Cloud Platform.

 

Only use ONE set of GCP keys for each enterprise in each datacenter

GCP will allow you to generate more than one set of active keys for each Google Cloud Platform user. However, in Abiquo, you can only add one set per enterprise. If you try to add another set, for example, using the API, you will get an error message.

Generate credentials in Google

To obtain GCP credentials

  1. Go to the Console of the Google Cloud Platform

  2. Create a project and enable billing

  3. If the GCE API is not enabled, enable it

  4. Select a Project

  5. Go to Project settings → Service accounts →  Create service account

  6. Enter the account details

  7. Assign the appropriate Role, for example, Compute Admin, and Big Query Admin (for billing dashboards)

  8. Add a credential

  9. Download the credential file in JSON format to a secure location

  10. From the credential file, you will need the following values.

    1. project_id

    2. client_id

    3. client_email

    4. private_key_id

    5. private_key

 

Add these credentials to your Abiquo enterprise as follows:

  • Access key ID: project_id#client_id#client_email#private_key_id

  • Secret access key: private_key (be careful with the private key format when downloading it from Google Cloud Platform. Sometimes, the format is lost. To add the correct format, replace the /n characters with new lines).

 

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved