Rotate a client secret
1
Rotate
Go to Admin → Integrations → API access. Open the ⋯ menu on the service account and click Rotate secret, then confirm.
2
Copy the new client secret
Cimento shows the new client secret once. Copy it, store it somewhere safe, and click Done.
3
Update your system
Give your system the new client secret within 24 hours. The client ID does not change.
A secret has leaked
Rotate, move your system to the new client secret, then end the leaked one without waiting for its 24 hours:- Click Rotate secret and copy the new client secret.
- Update your system.
- Open the ⋯ menu again and click Revoke previous secret.
Adding a scope
A client secret holds the scopes its service account had when the secret was made. When you add a scope to a service account, its current client secret does not gain it. Cimento marks the new scope Needs rotation, and no access token carries it until you rotate. When you add a scope, the edit form offers:- Save, to add the scope now and rotate later.
- Save and rotate, to add it and get a new client secret straight away.
What stops, and when
An access token lasts up to an hour and cannot be taken back. Whatever you do to a service account, a token it already has keeps working until it expires. Allow for that hour when you respond to a leak.