Stay organized with collections
Save and categorize content based on your preferences.
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 credentials enabled for all Google Workspace APIs or an
individual Google Workspace API, do the following:
In the Google Cloud console, click Menu
menu>More products>Google Workspace>Credentials.
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.
In the Google Cloud console, click Menu
menu>More products>Google Workspace>Credentials.
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.
In the Google Cloud console, click Menu
menu>More products>Google Workspace>Credentials.
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.
In the Google Cloud console, click Menu
menu>More products>Google Workspace>Credentials.
[[["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 2025-08-04 UTC."],[[["\u003cp\u003eGoogle Workspace credentials, including OAuth 2.0 and service accounts, are used to obtain access tokens for your app to interact with Google Workspace APIs.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage your Google Workspace credentials—view, edit, reset client secrets, turn off service accounts, and delete credentials—in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eDeleting credentials permanently removes application access to Google Cloud resources through that credential and cannot be undone.\u003c/p\u003e\n"],["\u003cp\u003eFor security, the client secret of an OAuth 2.0 Client ID should only be known by the application and the authorization server.\u003c/p\u003e\n"]]],["Credentials, like OAuth 2.0 and service accounts, enable apps to access Google Workspace APIs. To manage them, navigate to **Google Workspace** \u003e **Credentials** in the Google Cloud console. Here, you can view credentials for all or individual APIs. Editing allows changes to names and descriptions or resetting client secrets. Service accounts can be disabled or deleted, permanently revoking app access. Similarly, deleting client IDs is permanent. Finally, credentials can be reset to get new access tokes.\n"],null,["Credentials are used to obtain an access token from Google's authorization\nservers so your app can call Google Workspace APIs. For\nGoogle Workspace APIs, you can manage OAuth 2.0 and service account\ncredentials.\n\nView credentials\n\nTo see a list of credentials enabled for all Google Workspace APIs or an\nindividual Google Workspace API, do the following:\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. To select an individual Google Workspace API, click **All Google\n Workspace APIs**, then select an API.\n\nEdit credentials\n\nAfter you create credentials, you can edit some aspects of a credential. For\nexample, for OAuth 2.0 client IDs, you can edit the name that is shown in\ntheGoogle Cloud console or reset the client secret. For service accounts, you\ncan edit the name and description.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. To edit a credential, click Edit edit.\n\n3. Make your changes and then click **Save**.\n\nReset client secret\n\nThe client secret should only be known to the application and the authorization\nserver.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. Next to an OAuth 2.0 Client ID, click Edit edit.\n\n3. Click **Reset Secret**.\n\n4. Copy the secret and update the application with this value.\n\nTurn off a service account\n\nWhen you turn off a service account, applications no longer have access to the\nGoogle Cloud resources through that service account. If you turn off a service\naccount, you can turn it back on later.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. Next to a service account, click Edit edit.\n\n3. Click **Disable service account** and then click **Disable.**\n\nDelete a client ID or service account\n\nWhen you delete a client ID or a service account, applications no longer have\naccess to the Google Cloud Resources through that client ID or service\naccount. If you delete a client ID or service account, this deletion is\npermanent and the credentials can't be restored.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. Next to a credential, click Delete\n delete and then click **Delete**.\n\nNext steps\n\n- [Learn about authentication \\& authorization](/workspace/guides/auth-overview).\n- [Create access credentials](/workspace/guides/create-credentials)."]]