What you get

Self-service keys for scripts and integrations, managed from the portal.

  • Created by users

    Users generate keys in the portal. A key acts for the user who created it, inside that user's account.

  • Limited to one role

    A key can be restricted to a single role that its creator holds, so an integration gets only the permissions it needs and never more than the person behind it.

  • Expiry built in

    Choose 7 days, 30 days, 6 months, 1 year, 2 years or no expiry when you create a key.

  • Revoke at any time

    Every request with a key checks that the key still exists. Delete it and it stops working straight away.

How it works

API keys are signed tokens that carry the account and role they act for, and they are checked by the same code path as any other token. In the portal, keys are shown obfuscated, so the list tells you which keys exist without putting them on screen.

Key generation is a port with its own backend component, like every other external concern in Fractal. Keys work wherever tokens work, such as the REST API and the command-line tool.