Specify the credentials that Google Cloud uses to access Google Cloud Platform data

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • To securely access data on your provider account, the Discovery process must present appropriate credentials. To make the credentials available to Discovery, you open the Google Cloud Console to identify the Google Cloud Platform project that will have programmatic access to your Google Cloud Platform data. You then securely store the credentials in a service account in your instance.

    Before you begin

    Roles required:
    • Operations in the Google Cloud Console require the Google administrator role.
    • Operations in Cloud Provisioning and Governance require the sn_cmp.cloud_admin role.

    About this task

    Cloud providers often use different names for accounts, regions, and credential settings. Because the ServiceNow application supports several cloud providers, the app uses general-purpose names for the settings.

    Procedure

    1. If you have already generated the credentials that Cloud Provisioning and Governance: Google Cloud Connector or Cloud Provisioning and Governance: Terraform Connector should use, skip to the final step.
      Otherwise, continue with the next step.
    2. On the Google Cloud Console dashboard, select the project.
    3. Navigate to APIs & Services > Credentials.
    4. On the Credentials tab, click Create credentials > Service account key, and then create the key.
      Specify the JSON key type.
    5. Identify the credentials that Google Cloud Connector or Cloud Provisioning and Governance: Terraform Connector, and Discovery on your instance should use to access Google Cloud Platform data:
      1. In the Cloud Admin Portal, navigate to Manage > Credentials, click New and then select Google API Credentials.
      2. Import JSON File content of Service Account Credential.
        It will auto populate all other fields of this form.
      3. Select the Active check box to use the credentials and then click Submit.