Public Parameters

Public Request Parameters

Public request parameters refer to the request parameters that each API needs to use.

Name

Type

Necessary or Not

Description

version

String

Yes

Version number of the API in the format of YYYY-MM-DD (date). The number of the current version is 2017-01-01.

AccessKey

String

Yes

Key ID issued by Ping An Cloud for service access.

signature

String

Yes

Signature string. For more information about signature calculation, see Signature Mechanism.

signatureMethod

String

Yes

Signature method. KMS currently supports the HMAC-SHA1 algorithm.

signatureVersion

String

Yes

Signature algorithm version. KMS currently uses version 1.0.

signatureNonce

Long

Yes

Random number of the signature. It is a random Long value.

timestamp

String

Yes

String converted from the current millisecond timestamp.

Example:

https://kms-cn-shanghai.yun.pingan.com/?version=2017-01-01
      &accessKeyId=testid
      &signature=YlrFhyqDZQ1ThNYARrv3Ptaxqfc%3D
      &signatureMethod=HMAC-SHA1
      &signatureNonce= 1542160932207
      ×tamp= 1542160932207
      &signatureVersion=1.0 

Return Parameters

For each API request you send, the system returns a requestId (a unique identifier) to you no matter the request is accepted or denied.

Example:

{
         "requestId":"53912b71-3435-409e-ad05-1882ced04f1f"
      } 

Name

Calculate the Signature with the Parameter or Not

AccessKey

Yes

signature

No

signatureMethod

Yes

signatureVersion

Yes

signatureNonce

Yes

timestamp

Yes

version

Yes

API parameter of a specific service

Yes

Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products