(Optional) Add a Google Cloud Platform service account to the cloud account

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • During Cloud Provisioning and Governance Day 1 setup, you added one service account to the cloud account. To compartmentalize your infrastructure or to include different datacenters, you can add another service account. A particular datacenter, however, cannot be selected in more than one service account in a cloud account.

    Before you begin

    Role required: sn_cmp.cloud_admin

    About this task

    A service account is a secure record on your instance that stores the credential and access information for your provider account. Discovery uses the information to access your provider account to get data on each resource in each specified datacenter.
    In this example, you added the service account named ProviderB-ServiceAccount-1 and selected three datacenters to include in the cloud account:
    Figure 1. A service account with three selected datacenters
    A second service account with three selected datacenters
    Important:
    In a cloud account, you cannot select a particular datacenter in two different service accounts.

    Procedure

    1. Navigate to Cloud Admin Portal > Service Accounts.
    2. Click New, enter a unique and meaningful Name, and then fill in the form.
    3. Fill in the remaining fields:
      Field Description
      Account ID From the JSON key file that is associated with the service account, copy/paste the project_id value into the Account ID field.
      Figure 2. Google Cloud Platform (GCP) project ID
      Copy the project_id value into the Account ID field
      Discovery credentials Select the appropriate credentials for the service account For information on generating or obtaining the credentials, see Specify the credentials that CSC Terraform Connector uses to access Google Cloud Platform data.
      Datacenter URL Leave the Datacenter URL field blank.
      Datacenter type Select Google Cloud Platform Datacenter.
      Datacenter discovery status Auto-generated value: Status and timestamp of the last execution of Discovery on the datacenter.
    4. Click Update or Submit.
      The system creates the service account and displays the list of all discovered datacenters.
    5. Repeat the process to add as many service accounts as needed.