Authorization: Bearer ********************{
"secret": {
"token": "<replacement-write-only>"
}
}curl --location '/v1/credentials//rotate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"secret": {
"token": "<replacement-write-only>"
}
}'{
"id": "cred_example",
"externalId": "erp-production",
"name": "ERP 生产凭据",
"kind": "bearer",
"status": "active",
"metadata": {
"owner": "platform"
},
"currentVersion": 1,
"fingerprintSuffix": "9a8b7c6d5e4f",
"createdAt": "2026-09-27T08:00:00.000Z",
"updatedAt": "2026-09-27T08:00:00.000Z",
"revokedAt": null
}