Stay organized with collections
Save and categorize content based on your preferences.
This page describes the steps to enable and disable
Secure Source Manager.
Required roles
To get the permissions that
you need to enable or disable Secure Source Manager,
ask your administrator to grant you the
Service Usage Admin role (roles/serviceusage.serviceUsageAdmin)
IAM role on your project.
For more information about granting roles, see Manage access to projects, folders, and organizations.
To initialize the gcloud CLI, run the following command:
gcloudinit
Install the beta gcloud CLI component:
gcloud components install beta
Disable Secure Source Manager
To disable Secure Source Manager:
Make sure any information you want to keep is saved elsewhere. We recommend
that you delete repositories in your project before you
disable Secure Source Manager.
In the Google Cloud console, go to the
API Overview
page for Secure Source Manager.
Select the project where you want to disable Secure Source Manager.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-02 UTC."],[],[],null,["# Enable and disable Secure Source Manager\n\nThis page describes the steps to enable and disable\nSecure Source Manager.\n\nRequired roles\n--------------\n\n\nTo get the permissions that\nyou need to enable or disable Secure Source Manager,\n\nask your administrator to grant you the\n\n\n[Service Usage Admin role](/iam/docs/roles-permissions/serviceusage#serviceusage.serviceUsageAdmin) (`roles/serviceusage.serviceUsageAdmin`)\nIAM role on your project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nYou might also be able to get\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n\nFor information on granting Secure Source Manager roles,\nsee [Access control with IAM](/secure-source-manager/docs/access-control) and\n[Grant users instance access](/secure-source-manager/docs/grant-users-instance-access).\n\nEnable Secure Source Manager\n----------------------------\n\n- [Sign in](https://accounts.google.com/Login) to your Google Account.\n\n If you don't already have one, [sign up for a new account](https://accounts.google.com/SignUp).\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n\n\n Enable the Secure Source Manager API.\n\n\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=securesourcemanager.googleapis.com)\n-\n [Install](/sdk/docs/install) the Google Cloud CLI.\n\n | **Note:** If you installed the gcloud CLI previously, make sure you have the latest version by running `gcloud components update`.\n- If you're using an external identity provider (IdP), you must first\n [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n\n-\n To [initialize](/sdk/docs/initializing) the gcloud CLI, run the following command:\n\n ```bash\n gcloud init\n ```\n\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n\n\n Enable the Secure Source Manager API.\n\n\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=securesourcemanager.googleapis.com)\n-\n [Install](/sdk/docs/install) the Google Cloud CLI.\n\n | **Note:** If you installed the gcloud CLI previously, make sure you have the latest version by running `gcloud components update`.\n- If you're using an external identity provider (IdP), you must first\n [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n\n-\n To [initialize](/sdk/docs/initializing) the gcloud CLI, run the following command:\n\n ```bash\n gcloud init\n ```\n\n1. Install the `beta gcloud` CLI component: \n\n ```\n gcloud components install beta\n ```\n\n\u003cbr /\u003e\n\nDisable Secure Source Manager\n-----------------------------\n\nTo disable Secure Source Manager:\n\n1. Make sure any information you want to keep is saved elsewhere. We recommend that you [delete repositories](/secure-source-manager/docs/delete-repository) in your project before you disable Secure Source Manager.\n2. In the Google Cloud console, go to the [API Overview](https://console.cloud.google.com/apis/library/securesourcemanager.googleapis.com) page for Secure Source Manager.\n3. Select the project where you want to disable Secure Source Manager.\n4. Click **Manage**.\n5. Click **Disable API**.\n\nWhat's next\n-----------\n\n- [Deploy and access a Secure Source Manager instance](/secure-source-manager/docs/deploy-access-instance).\n- [Grant users instance access](/secure-source-manager/docs/grant-users-instance-access)."]]