百度智能云

All Product Document

          Simple Cache Service SCS

          Instructions for Use

          API Authentication Mechanism

          The user can interact with Baidu AI Cloud by two methods, i.e., authentication and anonymous methods. For authentication method, the sender identity of a request needs to be verified by using the Access Key Id/Secret Access Key encryption method. Access Key Id (AK) is used to identify the user, and Secret Access Key (SK) is the key used by the user to encrypt the authentication string and by Baidu AI Cloud to verify the authentication string. Among them, SK is kept confidential and only be known by the user and Baidu AI Cloud.

          When Baidu AI Cloud receives the user's request, the system uses the same SK and the same authentication mechanism to generate the authentication string and compare it with the authentication string contained in the user's request. If the authentication string is identical to that contained in the user’s request, the system considers that the user has the specified operation privilege to perform the relevant operation. If the authentication string is different, the system ignores the operation and returns the error code. For details on the authentication mechanism, see Authentication Mechanism.

          Typesetting Convention

          Typesetting format Meaning
          < > Variable
          [ ] Optional
          { } Required
          | Mutex relationship
          Monospaced font, Courier New Screen output

          Time and Date

          There are many ways to display the date and time. For the purpose of consistency, unless otherwise stipulated or corresponding specifications are given, UTC time shall be adopted where date and time are required, according to ISO 8601, and subject to the following restrictions:

          1. The date is represented in the format of YYYY-MM-DD, for example, 6/1/2016 represents June 1, 2016.
          2. The time is represented in the format of “hh:mm:ss”, and an uppercase letter Z is placed at last position to represent the UTC time. For example: 23:00:10Z represents that the UTC time is 23:0:10
          3. Where the date and time are indicated at the same time, add the letter T between the two parts, for example. 2016-06-01T23:00:10Z represents that the UTC time is 23:0:10 on Wednesday, June 1, 2016.
          Previous
          Introduction of APIs
          Next
          Interface Instructions