This feature is available only in clusters of v4.0.6 or later.
You can share the current session of the TiDB Dashboard to other users so that they can access and operate the TiDB Dashboard without entering the user password.
Sign into TiDB Dashboard.
Click the username in the left sidebar to access the configuration page.
Click Share Current Session.
For security reasons, the shared session cannot be shared again.
Adjust sharing settings in the popup dialog:
Expire in: How long the shared session will be effective. Signing out of the current session does not affect the effective time of the shared session.
Share as read-only privilege: The shared session only permits read operations but not write operations (such as modifying configurations). This feature is available only in clusters of v4.0.14 or later.
Click Generate Authorization Code.
Provide the generated Authorization Code to the user to whom you want to share the session.
Keep your authorization code secure and do not send it to anyone who is untrusted. Otherwise, they will be able to access and operate TiDB Dashboard without your authorization.
On the sign-in page of TiDB Dashboard, click Use Alternative Authentication.
Click Authorization Code to use it to sign in.
Enter the authorization code you have received from the inviter.
Click Sign In.