cae__UpdateSecret
Updates a CAE secret's credential version in Huawei Cloud DEW, enabling you to change which registered credential version is active by specifying the secret ID and project ID.
Instructions
[CAE] 修改用户已在DEW服务上注册的凭据版本。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_version": "<api_version>",
"kind": "<kind>",
"project_id": "<project_id>",
"secret_id": "<secret_id>",
"spec": "<spec>"
},
"name": "cae__UpdateSecret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | 资源种类。 | |
| spec | Yes | ||
| secret_id | Yes | 凭据ID。 | |
| project_id | Yes | 项目ID,获取项目ID请参见[获取项目ID](https://support.huaweicloud.com/api-cae/cae_06_0021.html)。 | |
| api_version | Yes | API版本,固定值“v1”,该值不可修改。 |