Rezin Core Rezin Core
Docs

Tools

Personal access tokens

A personal access token lets a tool act as you, on the projects you choose: the command-line tool, the connector for AI assistants, or your own scripts calling the management API.

It is not a project key. Project keys are for your application; a personal access token is for you and your tools.

Make one

In the console open Your account → Access tokens.

ChoiceOptions
NameSomething you will recognise later
It mayLook only, or look and change
It stops working after7 days, 30 days (the default), 90 days or 1 year
It reachesEverything you can, or chosen companies and projects
PartsWhich parts of Rezin Core it may touch, each on or off (see below)
May deploy functionsOff unless you tick it. Needs "look and change" and the Functions part

The token starts with rzt_ and is shown once. Copy it then. Only a hash of it is stored, so nobody, including Rezin Core, can show it to you again.

Parts

A token reaches only the parts you leave ticked. Anything in another part answers 403 not_permitted.

PartWhat it lets the token do
Your account and companiesSee who you are, and list your companies and your role in each
DatabaseList tables, run SQL, list and apply migrations
FunctionsList functions, read their code and logs, and run one as a test
FilesList a bucket's files and upload to it
SecretsList secret names and set values. A value can never be read back
Record of activityRead the newest entries of a project's record
DocumentationSearch and read this documentation

Listing the projects the token covers, and reading the token's own terms (whoami), always work.

Deploying functions is separate

Putting code on the server, changing what a function runs with, and deleting a function need the May deploy functions permission as well as "look and change" and the Functions part. Without it those three answer 403 deploy_not_permitted.

Tokens made before 26 November 2026 kept every part they could reach, but did not gain this permission: an older read-write token can no longer deploy, change or delete functions. The console marks those tokens. Make a new one and tick the permission if you need it.

What a token can and cannot do

  • It never does more than your account can at that moment. If you leave a company, are made read-only, or the token is revoked or expires, it stops there and then.
  • A look-only token cannot change anything. Changes answer 403 read_only.
  • It works only on projects inside its reach. Anything else answers 404 not_found, as if the project did not exist.
  • It cannot read a secret's value, reach another client's project, or reach the platform's own tables.
  • Rezin Core staff accounts cannot hold tokens, so a token is never a way for staff into your project.

Good practice

  • Give each tool its own token, with the smallest reach and the shortest life that does the job.
  • Use a look-only token unless the session needs to change something.
  • Keep it in an environment variable or your tool's secret store. Never in a file you commit, and never on a command line.
  • Revoke a token the moment you stop needing it, or suspect it has been seen.

See and revoke

Your account → Access tokens lists your tokens with their names, reach, expiry and when each was last used. Revoke stops one at once.

What is recorded

Every use is one line on the project's audit record (the Activity → Record page): your account, which token, what kind of thing was done, and whether it came through the command line or the connector. A refused token is recorded too, at most once a minute per network address.

This page as Markdown · llms.txt · Rezin Core is in development and available by invitation.