rotate_secret
Rotate 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.
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. |