title | summary |
---|---|
Identity Access Management |
Learn how to manage identity access in TiDB Cloud. |
This document describes how to manage access to organizations, projects, roles, and user profiles in TiDB Cloud.
Before accessing TiDB cloud, create a TiDB cloud account. You can either sign up with email and password so that you can manage your password using TiDB Cloud, or choose your Google Workspace or GitHub account for single sign-on (SSO) to TiDB Cloud.
TiDB Cloud provides a hierarchical structure based on organizations and projects to facilitate the management of your TiDB cluster. An organization in TiDB Cloud can contain multiple projects and organization members, and a project can contain multiple clusters and project members.
To access a cluster in a project under an organization, a user must be a member of both the organization and the project. Organization owners can invite users to join the project to create and manage clusters in the project.
Under this structure:
-
Billing occurs at the organization level, while retaining visibility of usage in each project and cluster.
-
You can view all members in your organization.
-
You can also view all members in your project.
To check which organizations you belong to, take the following steps:
- Click Organization in the upper-right corner of the TiDB Cloud console.
- Click Organization Settings. You can view your organization on the page that is displayed.
If you are a member of multiple organizations, you can switch your account between organizations.
To switch between organizations, take the following steps:
- Click Organization in the upper-right corner of the TiDB Cloud console.
- Select Switch Organization in the drop-down menu, and click the organization you want to switch to.
If you are the organization owner, you can modify the system display time according to your time zone.
To change the local timezone setting, take the following steps:
-
Click Organization in the upper-right corner of the TiDB Cloud console.
-
Click Organization Settings. The organization settings page is displayed.
-
Click the Time Zone tab.
-
Click the drop-down list and select your time zone.
-
Click Confirm.
If you are the owner of an organization, you can invite organization members.
To invite a member to an organization, take the following steps:
-
Click Organization in the upper-right corner of the TiDB Cloud console.
-
Click Organization Settings. The organization settings page is displayed.
-
Click the User Management tab, and then select By All Users.
-
Click Invite.
-
Enter the email address of the user to be invited, select a role for the user, and then choose a project for the user.
Tip:
If you want to invite multiple members at one time, you can enter multiple email addresses.
-
Click Confirm. Then the new user is successfully added into the user list. At the same time, an email is sent to the invited email address with a verification link.
-
After receiving this email, the user needs to click the link in the email to verify the identity, and a new page shows.
-
If the invited email address has not been signed up for a TiDB Cloud account, the user is directed to the sign-up page to create an account. If the email address has been signed up for a TiDB Cloud account, the user is directed to the sign-in page, and after sign-in, the account joins the organization automatically.
Note:
The verification link in the email expires in 24 hours. If the user you want to invite does not receive the email, click Resend.
If you are the owner of an organization, you can remove organization members.
To remove a member from an organization, take the following steps:
Note:
If a member is removed from an organization, the member is removed from the belonged projects either.
-
Click Organization in the upper-right corner of the TiDB Cloud console.
-
Click Organization Settings. The organization settings page is displayed.
-
Click the User Management tab, and then select By All Users.
-
Click Delete in the user row that you want to delete.
To check which project you belong to, take the following steps:
-
Click Organization in the upper-right corner of the TiDB Cloud console.
-
Click Organization Settings. The Projects tab is displayed by default.
Note:
For free trial users, you cannot create a new project.
To create a new project, take the following steps:
-
Click Organization in the upper-right corner of the TiDB Cloud console.
-
Click Organization Settings. The Projects tab is displayed by default.
-
Click Create New Project.
-
Enter your project name.
-
Click Confirm.
To rename a project, take the following steps:
-
Click Organization in the upper-right corner of the TiDB Cloud console.
-
Click Organization Settings. The Projects tab is displayed by default.
-
In the row of your project to be renamed, click Rename.
-
Enter a new project name.
-
Click Confirm.
If you are the owner of an organization, you can invite project members.
To invite a member to a project, take the following steps:
-
Click Organization in the upper-right corner of the TiDB Cloud console.
-
Click Organization Settings. The organization settings page is displayed.
-
Click the User Management tab, and then select By Project.
-
Click Invite.
-
Enter the email address of the user to be invited, select a role for the user, and then choose a project for the user.
Tip:
If you want to invite multiple members at one time, you can enter multiple email addresses.
-
Click Confirm. Then the new user is successfully added into the user list. At the same time, an email is sent to the invited email address with a verification link.
-
After receiving this email, the user needs to click the link in the email to verify the identity, and a new page shows.
-
On the new page, the user needs to view and agree with our license, and then click Submit to create the account in TiDB Cloud. After that, the user is redirected to the login page.
Note:
The verification link in the email will expire in 24 hours. If your user doesn't receive the email, click Resend.
If you are the owner of an organization, you can remove project members.
To remove a member from a project, take the following steps:
-
Click Organization in the upper-right corner of the TiDB Cloud console.
-
Click Organization Settings. The organization settings page is displayed.
-
Click the User Management tab, and then select the By Project.
-
Click Delete in the user row that you want to delete.
If you are the owner of an organization, you can take the following steps to configure roles for your organization members:
-
Click Organization in the upper-right corner of the TiDB Cloud console.
-
Click Organization Settings. The organization settings page is displayed.
-
Click the User Management tab, and then select By All Users.
-
Click the role of the target member, and then modify the role.
There are four roles in an organization. The permissions of each role are as follows:
Permission | Owner | Member | Billing Admin | Audit Admin |
---|---|---|---|---|
Invite members to or remove members from an organization | ✅ | ❌ | ❌ | ❌ |
Set roles for an organization member | ✅ | ❌ | ❌ | ❌ |
Create and rename projects | ✅ | ❌ | ❌ | ❌ |
Invite members to or remove members from a project | ✅ | ❌ | ❌ | ❌ |
Edit time zone | ✅ | ❌ | ❌ | ❌ |
View bills and edit payment information | ✅ | ❌ | ✅ | ❌ |
View and configure audit logging | ❌ | ❌ | ❌ | ✅ |
Obtain project instance management permissions | ✅ | ✅ | ✅ | ✅ |
Manage an API key | ✅ | ❌ | ❌ | ❌ |
In TiDB Cloud, you can easily manage your profile, including your first name, last name, and phone number.
-
Click Account in the upper-right corner of the TiDB Cloud console.
-
Click Account Settings. The Profile tab is displayed by default.
-
Update the profile information, and then click Save.