Managing Keys
All key management happens in the portal under Settings → API Key Management. A key can never manage keys itself.
The key list
Each key shows its name, type, a masked token (e.g. rlm_sk_live…a1B2), permissions, allowed websites and IPs, status (Active, Expired, Rolled, Revoked), expiry, creation date, and Last used with the IP it was last used from.
Check Last used regularly. A key used from an IP you don’t recognise, or a key you thought was retired but is still in use, is a reason to roll or revoke it.
A secret key’s token is shown only once, when the key is created or rolled. It can’t be copied from the list.
Edit a key
Click Edit to change the name, permissions, allowed websites or allowed IPs. Changes apply from the next request, and the token stays the same.
Roll a key
Rolling replaces a key’s token without changing anything else. Use it to rotate a key, to recover from a lost token, or to take over a key whose creator is leaving.
- Click Roll on the key.
- Choose how long the old token keeps working: Stop now, 1 hour, 24 hours (default) or 7 days. Both tokens work during that time, so you can deploy the new one without downtime. If the key leaked, choose Stop now.
- Copy the new token. It is shown once.
The new key has the same name, type, permissions, websites, IPs and expiry, and shows Rolled from the old key.
Note: The new key acts as whoever rolled it. That is how a key is handed over: when its creator leaves the business, another admin rolls it, and the integration keeps working under the new owner. A key can be rolled once; to rotate again, roll the new key.
Revoke a key
Click Revoke and confirm. The key stops working on the next request.
- Payroll widget sessions created with the key end at once.
Revoke a key you no longer use, or one that leaked (or roll it with Stop now if the integration must keep running).
When a key stops working on its own
- Its expiry date has passed.
- The user who created it was deactivated or moved to another business. Roll the key from an active user to restore it.