Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Esta página descreve as etapas para ativar e desativar o Secure Source Manager.
Funções exigidas
Para receber as permissões necessárias para ativar ou desativar o Secure Source Manager,
peça ao administrador para conceder a você o
papel do IAM de administrador do Service Usage (roles/serviceusage.serviceUsageAdmin)
no seu projeto.
Para mais informações sobre a concessão de papéis, consulte Gerenciar o acesso a projetos, pastas e organizações.
Para inicializar a gcloud CLI, execute o seguinte comando:
gcloudinit
Instale o componente da CLI beta gcloud:
gcloud components install beta
Desativar o Secure Source Manager
Para desativar o Secure Source Manager:
Verifique se as informações que você quer manter estão salvas em outro lugar. Recomendamos excluir repositórios no seu projeto antes de desativar o Secure Source Manager.
No console Google Cloud , acesse a página
Visão geral da API
do Secure Source Manager.
Selecione o projeto em que você quer desativar o Secure Source Manager.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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)."]]