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
https://apigateway.cn-qingdao.aliyuncs.com/?Action=ModifySignature
&SignatureId=dd05f1c54d6749eda95f9fa6d491449a
&SignatureName=backendsignature
&SignatureKey=qwertyuiop
&SignatureSecret=asdfghjkl
&<Public request parameters>
Response example
XML
format
<ModifySignatureResponse>
<RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ004</RequestId>
<SignatureId>dd05f1c54d6749eda95f9fa6d491449a</SignatureId>
<SignatureName>backendsignature</SignatureName>
</ModifySignatureResponse>
JSON
format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ004",
"SignatureId": "dd05f1c54d6749eda95f9fa6d491449a",
"SignatureName": "backendsignature"
}