Creating a Service Account Key in the Google Cloud Platform project

This topic provides information about how to create a service account key in the Google Cloud Platform project. 

  1. Log on to the Google Cloud Platform console
  2. Select the project that you want to monitor. Note down the project ID. 
    In this example, the project ID is gcp-mon-dev

  3. From the left navigation pane, select IAM  and  admin > Service Accounts

  4. On the Service Accounts page, select CREATE SERVICE ACCOUNT. The Create service account dialog box is displayed. Enter the account name. In Role, select the Project > Viewer role.

  5. Select the Furnish a new private key check box.  Select the JSON Key type. Click CREATE.

  6. The Service account file is created and downloaded on the computer. Copy this JSON file and place it in the <PATROL_HOME>/gcc/key directory on the PATROL Agent server.

  7. After the JSON is downloaded on the computer, ensure that the following APIs are be enabled on the Google Cloud Platform.


    Required for

    Stackdriver monitoring APIPerformance metrics collection
    Google Compute Engine APICompute engine instances discovery
    Google Cloud Functions APICloud functions discovery
    Google App Engine Admin APIApp engine discovery
    Cloud Resource Manager APIDisplaying project name along with project ID

Was this page helpful? Yes No Submitting... Thank you