Identity Platform에서 멀티테넌시 설정
이 빠른 시작에서는 Identity Platform에서 멀티테넌시를 사용 설정하고 Google Cloud 콘솔을 사용하여 새 테넌트를 만들고 선택하는 방법을 보여줍니다.
Identity Platform의 멀티테넌시에 대해 자세히 알아보려면 멀티테넌시를 참고하세요.
Google Cloud 콘솔에서 이 태스크에 대한 단계별 안내를 직접 수행하려면 둘러보기를 클릭합니다.
시작하기 전에
- Google Cloud 계정에 로그인합니다. Google Cloud를 처음 사용하는 경우 계정을 만들고 Google 제품의 실제 성능을 평가해 보세요. 신규 고객에게는 워크로드를 실행, 테스트, 배포하는 데 사용할 수 있는 $300의 무료 크레딧이 제공됩니다.
-
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.
-
If you're using an existing project for this guide, verify that you have the permissions required to complete this guide. If you created a new project, then you already have the required permissions.
-
Verify that billing is enabled for your Google Cloud project.
-
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.
-
If you're using an existing project for this guide, verify that you have the permissions required to complete this guide. If you created a new project, then you already have the required permissions.
-
Verify that billing is enabled for your Google Cloud project.
필요한 역할
멀티 테넌시를 설정하는 데 필요한 권한을 얻으려면 관리자에게 프로젝트에 대한 Identity Platform 관리자 (roles/identityplatform.admin) IAM 역할을 부여해 달라고 요청하세요.
역할 부여에 대한 자세한 내용은 프로젝트, 폴더, 조직에 대한 액세스 관리를 참조하세요.
이 사전 정의된 역할에는 멀티 테넌시를 설정하는 데 필요한 권한이 포함되어 있습니다. 필요한 정확한 권한을 보려면 필수 권한 섹션을 펼치세요.
필수 권한
멀티 테넌시를 설정하려면 다음 권한이 필요합니다.
-
firebaseauth.configs.update -
identitytoolkit.tenants.create
멀티테넌시 사용 설정
Google Cloud 콘솔에서 Identity Platform > 설정 페이지로 이동합니다.
설정으로 이동Security(보안) 탭을 클릭합니다.
멀티 테넌시 섹션에서 테넌트 허용을 클릭합니다.
이렇게 하면 멀티테넌시가 사용 설정되고 테넌트 페이지가 열립니다.
이제 첫 번째 테넌트를 만들 준비가 되었습니다.
테넌트 만들기
테넌트 페이지에서 테넌트 추가를 클릭합니다.
이름 필드에 테넌트 이름을 입력합니다. 이름은 고유하지 않아도 됩니다. Identity Platform은 자동으로 고유한 ID를 할당합니다.
저장을 클릭합니다.
수고하셨습니다. Identity Platform 테넌트를 만들었습니다.
테넌트 선택
설정 페이지의 테넌트로 범위 지정 목록에서 테넌트를 선택합니다.
각 테넌트에는 자체 공급업체와 사용자가 있습니다. 테넌트를 선택한 후에는 비테넌트 Identity Platform 프로젝트를 관리하는 것과 동일한 방식으로 관리할 수 있습니다.
멀티테넌시 사용 중지
멀티테넌시를 사용 중지하려면 Identity Toolkit API를 사용하세요.