Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2ce6e8b
Add manage user access documentation for premium
zhoubasten Oct 22, 2025
3505212
initial commit
zhoubasten Oct 22, 2025
cdd78e0
First round update to remove Project roles and management details
zhoubasten Oct 22, 2025
80d7d84
remove project terms
zhoubasten Oct 22, 2025
0d01234
remove cluster terms
zhoubasten Oct 22, 2025
92dc4a1
update the permissions to view all users
zhoubasten Oct 22, 2025
496469e
update permissions to view organization basic info
zhoubasten Oct 22, 2025
db4f49d
update manage access to org roles
zhoubasten Oct 22, 2025
c748b96
update manage user access to instance
zhoubasten Oct 22, 2025
7c2fe27
Apply suggestions from code review
qiancai Oct 28, 2025
4f4acf6
update according to UI
qiancai Oct 28, 2025
b0023b8
update according to UI
qiancai Oct 28, 2025
6c0fff1
Update TOC-tidb-cloud-premium.md
qiancai Oct 28, 2025
a9870e0
replace TiDB Cloud Premium with {{{ .premium }}}
qiancai Oct 28, 2025
2fedbe7
Update manage-user-access-premium.md
qiancai Oct 28, 2025
8182882
Update manage-user-access-premium.md
qiancai Oct 29, 2025
35aa274
Update tidb-cloud/premium/manage-user-access-premium.md
qiancai Oct 29, 2025
b9953fe
implement comments from Yuiham
qiancai Oct 29, 2025
5104f1d
Merge branch 'patch-6' of https://github.com/zhoubasten/docs into pr/…
qiancai Oct 29, 2025
1580e4c
Update tidb-cloud/premium/manage-user-access-premium.md
qiancai Oct 29, 2025
1fa4467
minor fix
qiancai Oct 29, 2025
203dcf8
Merge branch 'patch-6' of https://github.com/zhoubasten/docs into pr/…
qiancai Oct 29, 2025
d206803
Instance Admin -> Instance Administrator
qiancai Oct 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TOC-tidb-cloud-premium.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
- [Password Authentication](/tidb-cloud/tidb-cloud-password-authentication.md)
- [Standard SSO Authentication](/tidb-cloud/tidb-cloud-sso-authentication.md)
- [Organization SSO Authentication](/tidb-cloud/tidb-cloud-org-sso-authentication.md)
- [Identity Access Management](/tidb-cloud/manage-user-access.md)
- [Identity Access Management](/tidb-cloud/premium/manage-user-access-premium.md)
- [OAuth 2.0](/tidb-cloud/oauth2.md)
- Network Access Control
- [Connect via Private Endpoint with Alibaba Cloud](/tidb-cloud/set-up-private-endpoint-connections-on-alibaba-cloud.md)
Expand Down
246 changes: 246 additions & 0 deletions tidb-cloud/premium/manage-user-access-premium.md
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer replacing instance with TiDB instance.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
---
title: Identity Access Management for {{{ .premium }}}
summary: Learn how to manage identity access in {{{ .premium }}}.
---

# Identity Access Management for {{{ .premium }}}

This document describes how to manage user access, roles, and permissions across organizations and TiDB instances in {{{ .premium }}}.

Before you can use TiDB Cloud, [sign up for an account](https://tidbcloud.com/free-trial). You can either sign up with email and password to [manage your password in TiDB Cloud](/tidb-cloud/tidb-cloud-password-authentication.md), or choose your Google, GitHub, or Microsoft account for single sign-on (SSO) to TiDB Cloud.

## Organizations and TiDB instances

{{{ .premium }}} uses a hierarchical structure of organizations and instances to help you manage users and TiDB instances efficiently. As an `Organization Owner`, you can create and manage multiple instances within your organization.

For example:

```
- Your organization
- TiDB instance 1
- TiDB instance 2
- TiDB instance 3
...
```

In this structure:

- Users can access an organization only if they are members of it.
- To access a TiDB instance, users need at least read permissions for that instance in the organization.

For more information about user roles and permissions, see [User Roles](#user-roles).

### Organizations

An organization can include multiple TiDB instances.

TiDB Cloud calculates billing at the organization level, with the billing details available for each instance.

If you are an `Organization Owner`, you have full administrative privileges in your organization.

For example, you can do the following:

- Create TiDB instances for different purposes.
- Assign organization-level and instance-level roles to different users.
- Configure organization-wide settings such as time zone.

### TiDB instances

If you are an `Instance Administrator`, you can manage settings and operations for a specific instance.

For example, you can do the following:

- Delete a TiDB instance when it is no longer needed.
- Modify instance configurations as needed.

## User roles

TiDB Cloud defines different user roles to control permissions at both the organization and TiDB instance levels.

You can grant roles to users at the organization level or at the TiDB instance level. It is recommended to plan your hierarchy carefully to ensure least‑privilege access and maintain security.

### Organization roles

At the organization level, TiDB Cloud defines the following roles, in which `Organization Owner` can invite members and grant organization roles to members.

| Permission | `Organization Owner` | `Organization Billing Manager` | `Organization Billing Viewer` | `Organization Console Audit Manager` | `Organization Viewer` |
|---|---|---|---|---|---|
| Manage organization settings, such as TiDB instances, API keys, and time zones. | ✅ | ❌ | ❌ | ❌ | ❌ |
| Add or remove organization members, and edit organization roles. | ✅ | ❌ | ❌ | ❌ | ❌ |
| `Instance Administrator` permissions for all TiDB instances in the organization. | ✅ | ❌ | ❌ | ❌ | ❌ |
| Manage payment information for the organization. | ✅ | ✅ | ❌ | ❌ | ❌ |
| View billing and use [Cost Explorer](/tidb-cloud/tidb-cloud-billing.md#cost-explorer). | ✅ | ✅ | ✅ | ❌ | ❌ |
| Manage [console audit logging](/tidb-cloud/tidb-cloud-console-auditing.md) for the organization. | ✅ | ❌ | ❌ | ✅ | ❌ |
| View all organization members. | ✅ | ❌ | ❌ | ❌ | ❌ |
| View organization name and time zone. | ✅ | ✅ | ✅ | ✅ | ✅ |

> **Note:**
>
> - The `Organization Console Audit Manager` role manages audit logging in the TiDB Cloud console only, not database audit logging.

### TiDB instance roles

At the TiDB instance level, TiDB Cloud defines two roles: `Instance Administrator` and `Instance Viewer`.

> **Note:**
>
> - The `Organization Owner` automatically inherits all `Instance Administrator` permissions for every instance in the organization.
> - Each TiDB instance role inherits all the permissions of the `Organization Viewer` role by default.
> - If a member in your organization does not have any TiDB instance roles, the member cannot access any TiDB instances in your organization.

| Permission | `Instance Administrator` | `Instance Viewer` |
|---|---|---|
| Manage TiDB instance settings | ✅ | ❌ |
| Manage [database audit logging](/tidb-cloud/tidb-cloud-auditing.md) of the TiDB instance. | ✅ | ❌ |
| Manage TiDB instance operations, such as TiDB instance creation, modification, and deletion. | ✅ | ❌ |
| Manage TiDB instance data, such as data import, data backup and restore, and data migration. | ✅ | ❌ |
| Manage [changefeeds](/tidb-cloud/changefeed-overview.md). | ✅ | ❌ |
| Review and reset the root password for the TiDB instance. | ✅ | ❌ |
| View the overview, backup records, metrics, events, and [changefeeds](/tidb-cloud/changefeed-overview.md) of the TiDB instance. | ✅ | ✅ |

## Manage organization access

### View and switch between organizations

To view and switch between organizations, take the following steps:

1. In the [TiDB Cloud console](https://tidbcloud.com), click the combo box in the upper-left corner. The list of organizations you belong to is displayed.

> **Tip:**
>
> - If you are currently on the page of a specific TiDB instance, after clicking the combo box in the upper-left corner, you also need to click ← in the combo box to return to the organization list.
> - If you are a member of multiple organizations, you can click the target organization name in the combo box to switch your account between organizations.

2. To view the detailed information of your organization, such as the organization ID and time zone, click the organization name, and then click **Organization Settings** > **General** in the left navigation pane.

### Set the time zone for your organization

If you are in the `Organization Owner` role, you can modify the system display time according to your time zone.

To change the local timezone setting, take the following steps:

1. In the [TiDB Cloud console](https://tidbcloud.com), switch to your target organization using the combo box in the upper-left corner.

2. In the left navigation pane, click **Organization Settings** > **General**.

3. In the **Time Zone** section, select your time zone from the drop-down list.

4. Click **Update**.

### Invite a user to your organization

If you are in the `Organization Owner` role, you can invite users to your organization.

> **Note:**
>
> You can also [invite a user to access or manage a TiDB instance](#invite-a-user-to-access-or-manage-a-tidb-instance) directly as needed, which also makes the user your organization member.

To invite a user to an organization, take the following steps:

1. In the [TiDB Cloud console](https://tidbcloud.com), switch to your target organization using the combo box in the upper-left corner.

2. In the left navigation pane, click **Organization Settings** > **Users**.

3. On the **Users** page, click **Invite User**.

4. Enter the email address of the user to be invited, and then select an organization role for the user.

> **Tip:**
>
> - The default role at the organization level is `Organization Viewer`.
> - If you want to invite multiple users at one time, you can enter multiple email addresses.
> - The invited user does not have access to any TiDB instances by default. To grant TiDB instance permissions to the user, see [Invite a user to access or manage a TiDB instance](#invite-a-user-to-access-or-manage-a-tidb-instance).

5. If you only need to assign the user an organization role and do not need to assign any project or TiDB instance roles, disable the **Add access for projects and instances** option.

6. Click **Invite**. 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.

7. After receiving this email, the user needs to click the link in the email to verify the identity, and a new page shows.

8. If the invited email address has not been used to sign up for a TiDB Cloud account, the user is directed to the sign-up page to create an account.

> **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**.

### Modify organization roles

If you are in the `Organization Owner` role, you can modify organization roles of all members in your organization.

To modify the organization role of a member, take the following steps:

1. In the [TiDB Cloud console](https://tidbcloud.com), switch to your target organization using the combo box in the upper-left corner.

2. In the left navigation pane, click **Organization Settings** > **Users**.

3. On the **Users** page, click **...** > **Edit Role** in the row of the target member.

### Remove an organization member

If you are in the `Organization Owner` role, you can remove organization members from your organization.

To remove a member from an organization, take the following steps:

> **Note:**
>
> If a member is removed from an organization, the TiDB instance access for the member is also removed.

1. In the [TiDB Cloud console](https://tidbcloud.com), switch to your target organization using the combo box in the upper-left corner.

2. In the left navigation pane, click **Organization Settings** > **Users**.

3. On the **Users** page, click **...** > **Delete** in the row of the target member.

## Manage TiDB instance access

### Invite a user to access or manage a TiDB instance

If you are in the `Organization Owner` role, you can invite users to access or manage your TiDB instances.

> **Note:**
>
> When you invite a user not in your organization to access or manage your TiDB instance, the user automatically joins your organization as well.

To invite a user to access or manage a TiDB instance, take the following steps:

1. In the [TiDB Cloud console](https://tidbcloud.com), switch to your target organization using the combo box in the upper-left corner.

2. In the left navigation pane, click **Organization Settings** > **Users**.

3. On the **Users** page, click **Invite User**.

4. Enter the email address of the user to be invited, and then select an organization role for the user.

5. Make sure the **Add access for projects and instances** option is enabled, click **Add access** in the **Instance access** section, and then select a TiDB instance role for the user.

6. Click **Add access**. 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.

7. After receiving this email, the user needs to click the link in the email to verify the identity, and a new page shows.

8. 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.

> **Note:**
>
> The verification link in the email will expire in 24 hours. If your user doesn't receive the email, click **Resend**.

### Modify TiDB instance roles

If you are in the `Organization Owner` role, you can modify TiDB instance roles of all organization members in your organization.

To modify the TiDB instance role of a member, take the following steps:

1. In the [TiDB Cloud console](https://tidbcloud.com), switch to your target organization using the combo box in the upper-left corner.

2. In the left navigation pane, click **Organization Settings** > **Users**.

3. On the **Users** page, click **...** > **Edit Role** of the target member.

## Manage user profiles

In TiDB Cloud, you can easily manage your profile, including your first name, last name, and phone number.

1. In the [TiDB Cloud console](https://tidbcloud.com), click <MDSvgIcon name="icon-top-account-settings" /> in the lower-left corner.

2. Click **Account Settings**.

3. In the displayed dialog, update the profile information, and then click **Update**.