Overview
This document provides administrators with step-by-step instructions to create a Google Workspace service account and Google Vault API key for Reveal Hold automated preservations.
1. Create a Google Cloud Project
Click the New Project dropdown.
Enter your project name, organization, and location.
Click Create.
2. Enable Required APIs
Within the new project:
Go to Menu > APIs & Services > Library.
Enable the following:
Gmail API
Google Drive API
Admin SDK
Google Vault API
3. Create Service Account
Go to Menu > APIs & Services > Credentials.
Click Create Credentials then go to Service Account.
Enter your Name and ID and click on Create & Continue.
Assign roles:
Project > Viewer
Storage Object Viewer
Finish and open Manage Service Accounts.
Click on Add Key.
Create the new JSON key and store it securely.
4. Collect Client ID
Go to Service account > Details > Copy the Unique ID (Client ID).
5. Delegate Domain-Wide Authority
In Google Admin Console:
Go to Security → API Controls → Manage Domain Wide Delegation.
Click Add new.
Enter Client ID.
Add OAuth scopes (comma-separated):
https://www.googleapis.com/auth/admin.directory.group,
https://www.googleapis.com/auth/admin.directory.user,
https://www.googleapis.com/auth/admin.reports.audit.readonly,
https://www.googleapis.com/auth/admin.reports.usage.readonly,
https://www.googleapis.com/auth/drive.readonly,
https://www.googleapis.com/auth/gmail.readonly,
https://www.googleapis.com/auth/userinfo.email,
https://www.googleapis.com/auth/userinfo.profile,
https://www.googleapis.com/auth/ediscovery,
https://www.googleapis.com/auth/devstorage.read_only
6. Assign Roles to Non-Super Admin Accounts
If not using a Super Admin:
Create a user (e.g., onna-service@domain.com).
In the Admin Console click on Roles > Create new role.
Assign these Vault privileges:
Manage Matters
Manage Holds
Manage Exports
Manage Searches
Under Admin API Privileges click on Reports.
Assign users to the new role.
Assign the following built-in roles:
User Management Admin
Services Admin
Groups Reader
7. Create Google Vault API Key
Google API Keys are created in Google Cloud. To do so, follow these instructions:
Go to APIs & Services > Credentials.
Click on Create Credentials > API Key.
Copy the generated key.
Restrict API key to Vault API only via API restrictions (optional but recommended.)
Provide this API key securely to Reveal Hold integration setup.
8. Reveal Hold Integration Notes
Use the Service Account details and Vault API key during Reveal Hold Google Vault connection setup.