The identity center has been integrated with the Tencent Cloud Command Line Interface (TCCLI). Users can log in to the identity center user portal using a browser or log in through TCCLI. After logging in, select the account and permission to access cloud resources via TCCLI commands. This article introduces the steps for identity center users to log in using TCCLI.
Prerequisites
2. Access address of the identity center login portal obtained, method:
2.2 On the left sidebar, click Identity Center Overview.
2.3 On the right side of the overview page, view or copy User Login URL.
Operation Steps
1. Run the following command to start configuring login information.
2. Enter the user login URL, TCCLI will automatically open the identity center SSO login page through the default browser.
tccli sso configure --url https://tencentcloudsso.com/*****/login
3. Click Log In on the SSO page.
3.1 The system will automatically redirect to the corporate IdP login page.
3.2 After successfully logging in with the corporate IdP username and password, a Note will confirm the TCCLI login.
3.3 After clicking Confirm Login, you will enter the successful login page.
4. After logging in on the web page, select the Tencent Cloud account and permission you need to log in to from the TCCLI account list.
5. Execute the following test command to verify TCCLI availability.
tccli cvm DescribeInstances
6. To log out, use the following command.