啟用及停用 Secure Source Manager

本頁面說明如何啟用及停用 Secure Source Manager。

必要的角色

如要取得啟用或停用 Secure Source Manager 所需的權限,請要求管理員為您授予專案的服務使用情形管理員角色 (roles/serviceusage.serviceUsageAdmin) 身分與存取權管理角色。如要進一步瞭解如何授予角色,請參閱「管理專案、資料夾和機構的存取權」。

您或許還可透過自訂角色或其他預先定義的角色取得必要權限。

如要瞭解如何授予 Secure Source Manager 角色,請參閱「使用 IAM 控管存取權」和「授予使用者執行個體存取權」。

啟用 Secure Source Manager

  1. Sign in to your Google Account.

    If you don't already have one, sign up for a new account.

  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Enable the Secure Source Manager API.

    Enable the API

  4. Install the Google Cloud CLI.

  5. 如果您使用外部識別資訊提供者 (IdP),請先 使用聯合身分登入 gcloud CLI

  6. 如要初始化 gcloud CLI,請執行下列指令:

    gcloud init
  7. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  8. Enable the Secure Source Manager API.

    Enable the API

  9. Install the Google Cloud CLI.

  10. 如果您使用外部識別資訊提供者 (IdP),請先 使用聯合身分登入 gcloud CLI

  11. 如要初始化 gcloud CLI,請執行下列指令:

    gcloud init
  12. 安裝 beta gcloud CLI 元件:
    gcloud components install beta
  13. 停用 Secure Source Manager

    如要停用 Secure Source Manager,請按照下列步驟操作:

    1. 請確認要保留的資訊已儲存在其他位置。建議您先刪除專案中的存放區,再停用 Secure Source Manager。
    2. 在 Google Cloud 控制台中,前往 Secure Source Manager 的「API Overview」(API 總覽) 頁面。
    3. 選取要停用 Secure Source Manager 的專案。
    4. 點選「管理」
    5. 按一下 [Disable API] (停用 API)

    後續步驟