UserSig Generation and Verification

Last updated: 2023-10-13 11:17:45Download PDF
You can generate UserSig online in the TRTC console, but it should be used only for quick testing at the development stage. This avoids key leakage and prevents attackers from stealing your traffic.

Signature (UserSig) Generator

Signatures (UserSig) allow you to build trust with Tencent Cloud.
1. Log in to the TRTC console, select Application Management on the left sidebar, and click UserSig generation.

2. In Signature (UserSig) Generator, select the application (SDKAppID) you created from the drop-down list. A secret key (key) is generated automatically.

3. Enter the user name (UserID).
4. Click Generate Signature (UserSig) to generate your UserSig.

Signature (UserSig) Checker

This is used to check the validity of your signature (UserSig).
Make sure that you enter the correct SDKAppID and UserID for the UserSig you want to verify.
1. Log in to the TRTC console, select Application Management on the left sidebar, and click UserSig verification.

2. In Signature (UserSig) Checker, select the application (SDKAppID) whose signature you want to verify. A secret key is generated automatically.
3. Enter the user name (UserID).
4. Copy and paste the signature (UserSig) that needs verification to Signature (UserSig), and click Verify Now.
If your UserSig is generated in Signature (UserSig) Generator, click Copy Signature (UserSig) to copy the signature.

5. View the verification results.