Using a Google Service Account

You can configure the connector to authenticate the connection with a Google service account. When you authenticate your connection this way, the connector handles authentication on behalf of the service account, so that an individual user account is not directly involved and no user input is required.

To authenticate your connection this way, you must provide a Google service account email address and the full path to a private key file for the service account. You can generate and download the private key file when you set up the service account.

Note:

To configure service account authentication:

  1. Set the OAuthMechanism property to 0.
  2. Set the Email property to your service account email ID.
  3. Set the KeyFilePath or KeyFile property to the full path to the .p12 or .json key file that is used to authenticate the service account ID. Alternatively, set the KeyFile property to the plain text JSON object.