Identity Platform でマルチテナンシーを設定する

このクイックスタートでは、Identity Platform でマルチテナンシーを有効にして、 Google Cloud コンソールを使用して新しいテナントを作成して選択する方法を説明します。

Identity Platform のマルチテナンシーの詳細については、マルチテナンシーをご覧ください。


このタスクを Google Cloud コンソールで直接行う際の順を追ったガイダンスについては、「ガイドを表示」をクリックしてください。

ガイドを表示


始める前に

  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.

    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 (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    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.

    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 (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

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

マルチテナンシーの有効化

  1. Google Cloud コンソールで、[Identity Platform] > [設定] ページに移動します。
    [設定] に移動

  2. [セキュリティ] タブをクリックします。

  3. [マルチテナンシー] セクションで、[テナントを許可] をクリックします。

これにより、マルチテナンシーが有効になり、[テナント] ページが開きます。

これで、最初のテナントを作成する準備が整いました。

テナントを作成する

  1. [テナント] ページで、[テナントを追加] をクリックします。

  2. [名前] フィールドに、テナントの名前を入力します。これは一意である必要はありません。Identity Platform によって自動的に個別の ID が割り当てられます。

  3. [保存] をクリックします。

これで完了です。Identity Platform テナントが作成されました。

テナントを選択する

[設定] ページで、[テナントにスコープを設定] リストからテナントを選択します。

各テナントには、それぞれ独自のプロバイダとユーザーがあります。テナントを選択すると、非テナントの Identity Platform プロジェクトと同じ方法で管理できます。

マルチテナンシーを無効にする

マルチテナンシーを無効にするには、Identity Toolkit API を使用します。

次のステップ