轮换会中断仍使用旧秘密的客户端。先准备安全分发和回滚方案,再执行写操作。
接口概览
从凭证列表取得
credential_id:
type=Token 时读取新的 token;type=Identity 时读取新的 password。将完整响应按秘密处理并立即更新调用方。
错误处理
401:Account Token 无效。403:无权管理该凭证。404:Credential ID 不存在。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Platform 集成指南 - Ace Data Cloud
轮换会中断仍使用旧秘密的客户端。先准备安全分发和回滚方案,再执行写操作。
| 项 | 内容 |
|---|---|
| 方法 | POST |
| URL | https://platform.acedata.cloud/api/v1/credentials/{credential_id}/rotate/ |
| 鉴权 | Account Token |
| Body | 无或 {} |
credential_id:
export PLATFORM_TOKEN='你的账户令牌'
export CREDENTIAL_ID='要轮换的 Credential ID'
curl -X POST \
"https://platform.acedata.cloud/api/v1/credentials/${CREDENTIAL_ID}/rotate/" \
-H "Authorization: Bearer ${PLATFORM_TOKEN}"
type=Token 时读取新的 token;type=Identity 时读取新的 password。将完整响应按秘密处理并立即更新调用方。
401:Account Token 无效。403:无权管理该凭证。404:Credential ID 不存在。