設定多用戶群

瞭解如何為 Identity Platform 啟用多用戶群架構,並使用 Google Cloud 控制台建立新用戶群。


如要直接在 Google Cloud 控制台按照逐步指南操作,請按一下「Guide me」(逐步引導)

逐步引導


事前準備

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Verify that billing is enabled for your Google Cloud project.

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

    Go to project selector

  5. Verify that billing is enabled for your Google Cloud project.

啟用多租戶架構

  1. 在 Google Cloud 控制台中開啟 Identity Platform 的「Settings」(設定) 頁面。
    前往「設定」頁面

  2. 按一下 [Security] (安全性) 分頁標籤。

  3. 按一下頁面底部的「允許租戶」

    啟用租戶

按一下這個按鈕即可啟用多租戶架構,並開啟「Tenants」(租戶) 頁面。

現在可以建立第一個租戶了。

建立租戶

  1. 在 Google Cloud 控制台中開啟 Identity Platform 的「Tenants」(租戶) 頁面。
    前往「Tenants」(用戶群) 頁面

  2. 按一下「新增用戶群」

  3. 輸入租戶的「名稱」。這項 ID 不必是專屬 ID,Identity Platform 會自動指派不同的 ID。

  4. 按一下 [儲存]

恭喜!您已建立 Identity Platform 租戶。

選取用戶群

使用左上角的下拉式選單,即可切換租戶。

多租戶下拉式選單

每個用戶群都有自己的提供者、設定和使用者。選取租戶後,管理方式與管理非租戶 Identity Platform 專案相同。

停用多租戶架構

使用 Identity Toolkit API 停用多用戶群。

後續步驟