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.
2. In the Signature (UserSig) Generator area, select an application, manually input UserID.
3. Click Generate UserSig to generate a signature, which expires after 180 days.
4. Click Copy UserSig to copy the signature and then paste and save the signature.
Signature (UserSig) Verifier
The system automatically obtains the key of the current app. After entering the UserID and UserSig, you can use the tool to quickly check the validity of the UserSig.
2. In the Signature (UserSig) Verifier area, select an application, manually input UserID and UserSig.
3. Click Verify to see the verification result.
If verification succeeds, you can view the SDKAppID, UserID, generation time, service time, and expiration time of the UserSig in the verification results.
If verification fails, you can view the cause of failure and solution in the verification results.