Add GCP subscription details
The DuploCloud rules-based expert system requires GCP Subscription details to manage cloud resources effectively. By adding Cloud Credentials in the DuploCloud Portal, you provide the necessary subscription details for this management.
To integrate GCP project cloud credentials into DuploCloud, follow these steps:
In the DuploCloud Portal, navigate to Administrator -> Cloud Credentials. The Cloud Credentials page displays.
Click Add to initiate the creation of new cloud credentials.
Ensure Google is selected from the Cloud list box as your cloud provider.
Enter your Google Project ID in the Project ID field. This ID uniquely identifies your GCP project.
Provide the Service Account email in the Service Account Email field. Service accounts are crucial for applications or compute workloads to interact with GCP services, managed through Identity and Access Management (IAM).
Paste the private key associated with your service account in the Service Account Private Key field. To extract and copy the private key from a JSON file, you can use the command: jq -r .private_key < filename.json | pbcopy
.
Click Submit to save your credentials, which will be displayed on the Cloud Credentials page.