Rotate secret
rotate_secretRotate an organisation secret: Ankra generates a new value and replaces the old one in place, so the sentinel stays the same and every resource that uses the secret receives the new value on its next reconcile (resources on clusters without GitOps are re-applied straight away). The old value is gone. A workload that read the secret at start keeps the old value until it restarts. Needs the secrets.manage permission (organisation owners and admins). It never takes a value: a secret the person must type is replaced on the secrets page.
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": {
"name": "<name>"
},
"name": "rotate_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The secret's name as list_secrets shows it, or its ${SECRET_SLOT:<id>} sentinel. | |
| length | No | Optional length of the new value, 16 to 96 characters. | |
| prefix | No | Optional fixed text the new value starts with. |