Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Cette page décrit la procédure à suivre pour activer et désactiver Secure Source Manager.
Rôles requis
Pour obtenir les autorisations nécessaires pour activer ou désactiver Secure Source Manager, demandez à votre administrateur de vous accorder le rôle IAM Administrateur Service Usage (roles/serviceusage.serviceUsageAdmin) sur votre projet.
Pour en savoir plus sur l'attribution de rôles, consultez la page Gérer l'accès aux projets, aux dossiers et aux organisations.
Pour initialiser la gcloud CLI, exécutez la commande suivante :
gcloudinit
Installez le composant CLI beta gcloud :
gcloud components install beta
Désactiver Secure Source Manager
Pour désactiver Secure Source Manager :
Assurez-vous que toutes les informations que vous souhaitez conserver sont enregistrées ailleurs. Nous vous recommandons de supprimer les dépôts de votre projet avant de désactiver Secure Source Manager.
Dans la console Google Cloud , accédez à la page Présentation de l'API pour Secure Source Manager.
Sélectionnez le projet dans lequel vous souhaitez désactiver Secure Source Manager.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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)."]]