En esta página, se describen los pasos para habilitar e inhabilitar Secure Source Manager.
Roles obligatorios
Para obtener los permisos que necesitas para habilitar o inhabilitar Secure Source Manager,
pídele a tu administrador que te otorgue el
rol de administrador de Service Usage (roles/serviceusage.serviceUsageAdmin) de IAM en tu proyecto.
Para obtener más información sobre cómo otorgar roles, consulta Administra el acceso a proyectos, carpetas y organizaciones.
También puedes obtener los permisos necesarios a través de roles personalizados o cualquier otro rol predefinido.
Para obtener información sobre cómo otorgar roles de Secure Source Manager, consulta Control de acceso con IAM y Otorga acceso a la instancia a los usuarios.
Habilita Secure Source Manager
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
Enable the Secure Source Manager API, if it is not already enabled.
Roles required to enable APIs
To enable APIs, you need the
serviceusage.services.enablepermission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.-
Install the Google Cloud CLI.
-
Configure the gcloud CLI to use your federated identity.
For more information, see Sign in to the gcloud CLI with your federated identity.
-
To initialize the gcloud CLI, run the following command:
gcloud init - Instala el componente de la CLI de
beta gcloud:gcloud components install beta
Inhabilita Secure Source Manager
Para inhabilitar Secure Source Manager, sigue estos pasos:
- Asegúrate de que la información que quieras conservar esté guardada en otro lugar. Te recomendamos que borres los repositorios de tu proyecto antes de inhabilitar Secure Source Manager.
- En la consola de Google Cloud , ve a la página Descripción general de la API de Secure Source Manager.
- Selecciona el proyecto en el que deseas inhabilitar Secure Source Manager.
- Haz clic en Administrar.
- Haz clic en Inhabilitar API.