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 https://console.cloud.google.com.
  2. Select the project that you want to monitor. Note down the project ID. 
    For 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.
  5. Enter the account name.
  6. In Role, select the Project >Viewer role.
  7. Select the Furnish a new private key check box.
  8. Select the JSON Key type. Click CREATE.
    The Service account file is created and downloaded on the computer.
  9. Copy this JSON file and place it in the <PATROL_HOME>/gcp/key directory on the PATROL Agent server.
  10. After the JSON is downloaded on the computer, ensure that the following APIs are be enabled on the Google Cloud Platform.

    API

    Required for

    Stackdriver monitoring API

    Performance metrics collection

    Google Compute Engine API

    Compute engine instances discovery

    Google Cloud Functions API

    Cloud functions discovery

    Google App Engine Admin API

    App engine discovery

    Cloud Resource Manager API

    Displaying project name along with project ID


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*