Manage credentials for Google Workspace APIs

Credentials are used to obtain an access token from Google's authorization servers so your app can call Google Workspace APIs. For Google Workspace APIs, you can manage OAuth 2.0 and service account credentials.

View credentials

To see a list of credenitals enabled for all Google Workspace APIs or an individual Google Workspace API, do the following:

  1. In the Google Cloud console, click Menu > More products > Google Workspace > Credentials.

    Go to Google Workspace

  2. To select an individual Google Workspace API, click All Google Workspace APIs, then select an API.

Edit credentials

After you create credentials, you can edit some aspects of a credential. For example, for OAuth 2.0 client IDs, you can edit the name that is shown in theGoogle Cloud console or reset the client secret. For service accounts, you can edit the name and description.

  1. In the Google Cloud console, click Menu > More products > Google Workspace > Credentials.

    Go to Google Workspace

  2. To edit a credential, click Edit .

  3. Make your changes and then click Save.

Reset client secret

The client secret should only be known to the application and the authorization server.

  1. In the Google Cloud console, click Menu > More products > Google Workspace > Credentials.

    Go to Google Workspace

  2. Next to an OAuth 2.0 Client ID, click Edit .

  3. Click Reset Secret.

  4. Copy the secret and update the application with this value.

Turn off a service account

When you turn off a service account, applications no longer have access to the Google Cloud resources through that service account. If you turn off a service account, you can turn it back on later.

  1. In the Google Cloud console, click Menu > More products > Google Workspace > Credentials.

    Go to Google Workspace

  2. Next to a service account, click Edit .

  3. Click Disable service account and then click Disable.

Delete a client ID or service account

When you delete a client ID or a service account, applications no longer have access to the Google Cloud Resources through that client ID or service account. If you delete a client ID or service account, this deletion is permanent and the credentials can't be restored.

  1. In the Google Cloud console, click Menu > More products > Google Workspace > Credentials.

    Go to Google Workspace

  2. Next to a credential, click Delete and then click Delete.

Next steps