UserSig Generation and Verification
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, and select Usersig Tools on the left sidebar.
2. In the Signature (UserSig) Generator module on the left, 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 to generate your UserSig.
Signature (UserSig) Verifier
This is used to check the validity of your signature (UserSig).
Note
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 Usersig Tools on the left sidebar.
2. In the Signature (UserSig) Verifier module on the right, 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.
Note
If your UserSig is generated in Signature (UserSig) Generator, click Copy Signature (UserSig) to copy the signature.
5. View the verification results.