Rotate and revoke
Switching to a new frontend key without downtime, and revoking a key.
Studio roles: "Owner", "Administrator", "Frontend manager".
Rotate without downtime
Because a frontend may have two active keys, you can switch keys while the old one keeps working:
- Issue a new key ("Issue key") and store it.
- Deploy the new key to the frontend's backend.
- Check on the "Keys" card that the old key's "Last used" no longer moves.
- Revoke the old key.
Rotate when a key may have leaked, when someone who knew it leaves, or on a schedule of your own.
Revoke a key
On the "Keys" card, click "Revoke" beside the key and confirm with "Revoke key". The dialog tells you when the key was last used.
The key stops working at once. From the next request on, the frontend's backend is refused with it, and a revoked key cannot be restored. To rotate without downtime, switch the backend to a new key before you revoke the old one.
Disconnecting the frontend instead
To stop a frontend altogether, the organisation disconnects it ("Disconnect frontend"): its keys stop working too, but they are kept, and reconnecting the frontend makes the same keys work again. Revoke keys you never want to work again.