This document describes the Basic Auth authentication methods of Tencent Push Notification Service.
For Basic Auth authentication with AccessId
and SecretKey
, the key is easy to be compromised and the security is not high. You are recommended to use signature authentication.
Access ID
and SECRET KEY
from the Application Information column (only visible to root account).base64(Access ID:SECRETKEY)
, which adds a colon after Access ID
followed by SECRETKEY
to form a string and then perform base64
encoding on the string.base64(150000****:cf43dac624820*****c1fe5fc993)
key-value
pair) to the HTTP Header:Authorization: Basic base64_auth_string
For example:
Authorization:Basic base64(150000****:cf43dac624820*****c1fe5fc993)
Was this page helpful?