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.
| Choice | Options |
|---|---|
| Name | Something you will recognise later |
| It may | Look only, or look and change |
| It stops working after | 7 days, 30 days (the default), 90 days or 1 year |
| It reaches | Everything you can, or chosen companies and projects |
| Parts | Which parts of Rezin Core it may touch, each on or off (see below) |
| May deploy functions | Off 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.
| Part | What it lets the token do |
|---|---|
| Your account and companies | See who you are, and list your companies and your role in each |
| Database | List tables, run SQL, list and apply migrations |
| Functions | List functions, read their code and logs, and run one as a test |
| Files | List a bucket's files and upload to it |
| Secrets | List secret names and set values. A value can never be read back |
| Record of activity | Read the newest entries of a project's record |
| Documentation | Search 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.