M2M clients (/apps/:app/m2m) issues tokens for services that call your API without a person. A service sends its alias or JWT as X-Authorization: Bearer <alias or JWT>.
Expiry audit#
Counts of tokens that are Expired (calls with these fail), that Expire within 30 days (rotate them before they do) and that are Unused for 90 days (may be revoked as stale).
Clients#
Each client shows its name, status (active, expiring, expired or unused), the alias preview (or JWT only, no alias), when it was last used and when it expires.
New client#
- Name: the service that will use it. Three characters or more.
- Expires after: 30 days, 90 days or 1 year.
- Can: Read and write (every call the API takes from an M2M token) or Read only (reads and access checks; calls that change something get 403).
The dialog then shows, once:
- Alias: short, for headers and env files. Scute looks up the JWT it stands for.
- JWT: the signed token itself, for services that check it without calling Scute.
- Refresh token, when issued: gets a new JWT before this one expires.
Copy them before I've saved it; you will not see them again.
Rotate and revoke#
- Rotate: a new token under the same name and access. The old one keeps working until you revoke it. After saving the new one, Revoke the old token or Keep the old one for now.
- Revoke: its alias and JWT stop working on the next call. This cannot be undone.
Who can use it#
Owners and admins make, rotate and revoke M2M clients. Other roles see the list.