Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite werden die Schritte zum Aktivieren und Deaktivieren von Secure Source Manager beschrieben.
Erforderliche Rollen
Bitten Sie Ihren Administrator, Ihnen die IAM-Rolle Service Usage Admin (roles/serviceusage.serviceUsageAdmin) für Ihr Projekt zuzuweisen, um die Berechtigungen zu erhalten, die Sie zum Aktivieren oder Deaktivieren von Secure Source Manager benötigen.
Weitere Informationen zum Zuweisen von Rollen finden Sie unter Zugriff auf Projekte, Ordner und Organisationen verwalten.
Führen Sie folgenden Befehl aus, um die gcloud CLI zu initialisieren:
gcloudinit
Installieren Sie die beta gcloud-CLI-Komponente:
gcloud components install beta
Secure Source Manager deaktivieren
So deaktivieren Sie Secure Source Manager:
Achten Sie darauf, dass alle Informationen, die Sie behalten möchten, an einem anderen Ort gespeichert sind. Wir empfehlen, Repositories in Ihrem Projekt zu löschen, bevor Sie Secure Source Manager deaktivieren.
Rufen Sie in der Google Cloud Console die Seite API-Übersicht für Secure Source Manager auf.
Wählen Sie das Projekt aus, in dem Sie Secure Source Manager deaktivieren möchten.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (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)."]]