Products

×

How to add Service Account ID and P12 File Path

In order to allow Google Apps Password synchronization, you must generate a P12 key by making certain settings in your Google service account.

Below is the stepwise process to generate a P12 file for the Google Service account.

1. Create a Google Cloud Project for Organization

generate P12 key for Google service account
  • From the Dashboard, go to the Select a Project option and click the NEW PROJECT option.
generate P12 key for Google service account
  • Enter a Project name, Organization, and Location, and click the Create option at the bottom.
generate P12 key for Google service account
2. Enable API Sets
  • Next you’ve to Enable APIS and SERVICES. For this, select the created project and click on ENABLE API AND SERVICES
generate P12 key for Google service account
  • In the search bar, search for the following API sets; Gmail API, Google Calendar API, People API, Admin SDK API & Contacts API, and Enable them.
generate P12 key for Google service account generate P12 key for Google service account
3. Create a Service Account
  • Click the Menu button >> then go to the IAM & Admin and click Service Accounts from the dropdown menu.
generate P12 key for Google service account
  • Click CREATE SERVICE ACCOUNT
generate P12 key for Google service account
  • Enter the Service Account details and then click CREATE AND CONTINUE.
generate P12 key for Google service account
  • In my case:
generate P12 key for Google service account
  • Select a role for the Service account and click Continue.(This step is optional)
generate P12 key for Google service account
  • Grant service account users and admin roles and click Done.
generate P12 key for Google service account

The Unique ID of the Service account its needs in below configuration Domain-wide delegation

generate P12 key for Google service account

Now, Delegate domain-wide authority to your service account

To delegate domain-wide authority to a service account:

1. From your Google Workspace domain's Admin console, go to Main menu menu> Security > API controls.

generate P12 key for Google service account

2. In the Domain wide delegation pane, select Manage Domain Wide Delegation.

generate P12 key for Google service account

3. Click Add new.

generate P12 key for Google service account

4. In the Client ID field, enter the Unique ID obtained from the service account creation steps above.

generate P12 key for Google service account

5. In the OAuth Scopes field,you need to input the URL of scopes are given below.

6. You can add above multiple Google APIs in the list. Click Authorize.

  • Next, click the ⁝ (Menu) icon in the Actions column of the created service account and select Manage key > Create New Key
generate P12 key for Google service account generate P12 key for Google service account
  • Select P12 as the key type and click Create. Now the P12 file will automatically be downloaded into your hard drive’s Downloads folder.
generate P12 key for Google service account generate P12 key for Google service account

4. Now the Service Account ID and P12 File Path are ready. Now you can easily log in into Shoviv G Suite Backup and Restore tool and backup your G Suite data.

generate P12 key for Google service account