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](https://docs.cloud.google.com/iam/docs/roles-permissions/serviceusage#serviceusage.serviceUsageAdmin) (`roles/serviceusage.serviceUsageAdmin`) IAM role on your project.


For more information about granting roles, see [Manage access to projects, folders, and organizations](https://docs.cloud.google.com/iam/docs/granting-changing-revoking-access).


You might also be able to get
the required permissions through [custom
roles](https://docs.cloud.google.com/iam/docs/creating-custom-roles) or other [predefined
roles](https://docs.cloud.google.com/iam/docs/roles-overview#predefined).

For information on granting Secure Source Manager roles,
see [Access control with IAM](https://docs.cloud.google.com/secure-source-manager/docs/access-control) and
[Grant users instance access](https://docs.cloud.google.com/secure-source-manager/docs/grant-users-instance-access).

## Enable Secure Source Manager

1. Install the `beta gcloud` CLI component:

   ```
   gcloud components install beta
   ```

<br />

## Disable Secure Source Manager

To disable Secure Source Manager:

1. Make sure any information you want to keep is saved elsewhere. We recommend that you [delete repositories](https://docs.cloud.google.com/secure-source-manager/docs/delete-repository) in your project before you disable Secure Source Manager.
2. 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.
3. Select the project where you want to disable Secure Source Manager.
4. Click **Manage**.
5. Click **Disable API**.

## What's next

- [Deploy and access a Secure Source Manager instance](https://docs.cloud.google.com/secure-source-manager/docs/deploy-access-instance).
- [Grant users instance access](https://docs.cloud.google.com/secure-source-manager/docs/grant-users-instance-access).