Dashboard

Workspace keys

Workspace API keys for servers that manage the whole workspace, and the signing key Scute uses for the workspace's tokens.

Keys, in Settings, has two parts: workspace API keys and the signing key. Owners and admins change keys; others see them with the note Only owners and admins change keys.

Workspace API keys#

A workspace key is for servers that manage the whole workspace: every app and every workspace under it. An app's own keys are on its API keys page and reach only that app. Most servers only need an app key.

Each key shows its name, its first characters only (the rest is Hidden), when it was created and when it was last used. Row actions:

ActionWhat it does
RotateMakes a new secret for the key. The new secret shows once.
RenameChanges the name.
RevokeServers using it lose access to every app and workspace it reached, from their next call. This cannot be undone.

New key asks for a Name (after where it runs, for example Provisioning script). The secret shows once: Copy it now. You won't see it again.

Workspace keys are sent in the X-Workspace-Key header. See the API reference.

Signing key#

Scute signs this workspace's tokens with this key pair. Check a token's signature with the public half; the private half never leaves Scute.

FieldNotes
Key idThe kid in token headers.
JWKS addresshttps://api.scute.io/v1/auth/YOUR_APP_ID/.well-known/jwks.json. Public, no key needed. Point your JWT library here; any app's address serves the same key.
JWKSThe key set as JSON, to copy.
Public key (PEM)To copy.
Earlier keysKeys from before a rotation that still verify tokens.

Rotate the signing key#

Rotate makes a new key pair. Tokens get the new key from then on; no one is signed out. The old key stays in the JWKS and keeps verifying until no token it signed can still be valid (the end of the longest session, and at least 7 days).

  • Servers that read your JWKS find the new key there. Servers that copied the public key need the new one.
  • You can rotate once an hour, and at most 3 earlier keys verify at a time. The row says when you can rotate again.

If the workspace uses SAML, SAML keeps signing with the earlier key so your identity provider keeps trusting it. The page shows SAML still signs with an earlier key. Load the new SP certificate from the SAML metadata into your identity provider, then click Move SAML to the current key.

With no key pair, the page says tokens cannot be signed and to contact support.