Stay organized with collections
Save and categorize content based on your preferences.
This document contains Google Vault API-specific authorization and
authentication information. Before reading this document, be sure to read the
Google Workspace's general authentication and authorization information at
Learn about authentication and authorization.
To define the level of access granted to your app, you need to identify and
declare authorization scopes. An authorization scope is an OAuth 2.0 URI string
that contains the Google Workspace app name, what kind of data it accesses, and
the level of access. Scopes are your app's requests to work with Google Workspace data, including
users' Google Account data.
When your app is installed, a user is asked to validate the scopes used
by the app. Generally, you should choose the most narrowly focused scope
possible and avoid requesting scopes that your app doesn't require. Users more
readily grant access to limited, clearly described scopes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[[["This document provides Google Vault API-specific authorization and authentication details, requiring prior understanding of Google Workspace's general authentication and authorization."],["You need to configure the OAuth consent screen, choose scopes, and register your app for authorization using OAuth 2.0."],["Vault API uses specific scopes defining the level of access granted to your application to Google Workspace data, requiring careful selection to ensure user privacy."],["The two key scopes for Vault API are `https://www.googleapis.com/auth/ediscovery` for managing eDiscovery data and `https://www.googleapis.com/auth/ediscovery.readonly` for viewing it."]]],[]]