edit-icon download-icon

Modify a signature key

Last Updated: Dec 19, 2017

Description

For modifying a backend signature key.

  • This function is intended for API activators.
  • This interface is used to modify the name, Key, and Secret of an existing signature key.
  • Note that key modification takes effect instantly. If the modified signature key is bound to an API, you must perform new signature string verification for your backend services.
  • This API can call up to 50 QPS for a single user.

Request parameters

Name Type Required? Description
Action String Yes Operation interface name, which is a required parameter; value: ModifySignature.
SignatureId String Yes ID of the signature key you want to modify.
SignatureName String No New key name which contains 4–50 characters including Chinese characters, English letters, numbers, and English-style underscores, and must start with an English letter or a Chinese character.
SignatureKey String No New Key value of the signature key which contains 6–20 characters including English letters, numbers, and English-style underscores, and must start with a letter.
SignatureSecret String No New Secret value of the signature key which contains 6–30 characters including English letters, numbers, English-style underscores, and special characters (@, #, !, and *), and must start with an English letter.

Return parameters

Name Type Description
RequestId String ID of the current request.
SignatureId String Key ID.
SignatureName String Key name.

Examples

Request example

  1. https://apigateway.cn-qingdao.aliyuncs.com/?Action=ModifySignature
  2. &SignatureId=dd05f1c54d6749eda95f9fa6d491449a
  3. &SignatureName=backendsignature
  4. &SignatureKey=qwertyuiop
  5. &SignatureSecret=asdfghjkl
  6. &<Public request parameters>

Response example

XML format

  1. <ModifySignatureResponse>
  2. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ004</RequestId>
  3. <SignatureId>dd05f1c54d6749eda95f9fa6d491449a</SignatureId>
  4. <SignatureName>backendsignature</SignatureName>
  5. </ModifySignatureResponse>

JSON format

  1. {
  2. "RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ004",
  3. "SignatureId": "dd05f1c54d6749eda95f9fa6d491449a",
  4. "SignatureName": "backendsignature"
  5. }
Thank you! We've received your feedback.