8 Forge Setup
liquibyte edited this page 2026-11-27 16:20:10 -06:00

Forge Setup

A forge is a server that keeps git repositories and shows them on the web: a Forgejo, or a Gitea, which has the same menus. A Folio site hosts no repositories of its own. Your projects stay on the forge; the site reads them from there, builds them, and can write its own results back to the forge.

This page sets up both directions. It assumes the site is installed (the Owner Install Guide) and you are its owner or an administrator.

The three connections

Do them in this order. Only A is needed for a working site; B and C are optional.

                       A. import (the site reads, over https)
   +---------------+  ------------------------------------->  +-----------+
   |     forge     |                                           |   site    |
   |               |  <-------------------------------------  |           |
   | forge.        |   B. record, pages, archive (git, ssh)    | dur.      |
   | example.org   |  <-------------------------------------  | example.  |
   |               |   C. package files (web, access token)    | org       |
   +---------------+                                           +-----------+
Connection Direction What the forge must give the site
A Importing projects the site reads from the forge nothing: the repositories must be public
B The record, the pages and the apt archive kept as two repositories on the forge the site writes to the forge with git over SSH a place to write, and the right to write for the site's SSH key
C The built packages in the forge's own package list the site uploads to the forge over the web an access token

The guided setup (folio-install) does B and C with you, if you name the forge when it asks (Owner Install Guide, Part 2): it fetches the forge server's host key and has you compare and confirm it, shows the site's key and waits while you add it on the forge, checks that the site may write there, takes the package list's address and the token, and sends once. The forge still will not take a key or hand out a token without you: you add the key and make the token there. A cannot be done by the setup.

The commands below do B and C after the setup: for a site set up without a forge, to change the forge it writes to, or to add the package list later. They record everything the same way the setup does.

Words used on this page

Word What it is
https://forge.example.org your forge
you the account (or organisation) on the forge that holds the projects
dur your site's short name in lower case, as you gave it at setup (DUR becomes dur; spaces and _ become -; only letters, digits and - are kept). folio-setup and admin set short-name show it as "the site's word". If it changes, the site sends to two new repositories named after the new word: see Settings Reference
the door how you give the site a command, from your own computer, over SSH. A command that changes something goes as folio COMMAND: the folio command (package folio-client) signs it with your GPG key, and the site takes no change without that signature, so a stolen SSH key alone changes nothing. A command that only looks also works as plain ssh folio@dur.example.org COMMAND. Setting folio up once is in the Member Guide
the record the site's memory: accounts, packages, votes, comments, settings, kept as a git repository with one signed commit per change
import the site fetches a project's source from the forge, works out how to package it, writes the facts into the record and queues its builds
member, maintainer, administrator, owner the roles an account on the site can have, from least to most trusted
main, unsafe the two parts of the site's apt archive: main is reviewed, unsafe is not

Every command on this page runs on your own computer, through the door, unless it says "on the forge".


A. Importing projects

The site reads projects the way anyone could: it asks the forge's web interface which repositories an account holds, and fetches each with git over https. It has no password or key for reading, so it can only see public repositories.

A1. Put the projects on the forge

Each project is an ordinary repository on the forge, pushed the way you always push. For the site to import it, it needs:

  1. To be public. On the forge, a private repository shows a Private label beside its name. Its visibility is changed in the repository's Settings.
  2. To say how it is built, with one of these in its top folder: a Makefile (or GNUmakefile, or makefile), meson.build, CMakeLists.txt, a configure script or configure.ac, or pyproject.toml or setup.py. A project that has none can name its build system in a file .folio (see Settings Reference). A project with its own debian/ folder is not repackaged: that folder is checked and used as it is (the Member Guide says more).
  3. No git submodules, no file over 20 MB, and the whole repository at most 2000 MB, both as it is fetched and as its files come to unpacked; at most 50,000 files, links and folders; and read in at most 300 seconds. A site can change these numbers with its settings source-limit-mb, source-limit-files and source-limit-seconds (Settings Reference). The same limits hold for the import every few minutes, and for everything a watched account or a watched forge brings in: a fetch that brings in more than source-limit-mb is stopped while it comes in, and a commit turned down for a limit is not fetched again until a new commit is there.
  4. Links only inside the project. A symbolic link must be a relative path that stays inside the project, with every ../ at the start, and there may be none in debian/. The site never reads through a link (a file it looks for that is a link counts as absent), and refuses a project with a link that points outside it or by its full path: PATH is a link that points outside the project (TARGET); links may only point inside it.
  5. Signed, on most sites. A site made with Folio takes only a newest commit signed with the PGP key of whoever imports it, or of one of the package's maintainers (signatures = required), unless its administrators turned that off. This holds for every way a commit comes in, the import every few minutes included: whoever can push to the repository on the forge cannot get an unsigned commit into the site. The signature is checked first, before any of the commit's files are listed or read, so an unsigned project is refused without the site reading it. See Signing your commits.

The site imports the repository's default branch, whatever it is called, and only that.

The forge must also let its list of repositories be read without signing in. A Forgejo does that for public accounts unless its administrator switched it off.

Sending a project to the forge for the first time:

  1. On the forge: click the + at the top right, then New Repository. Give it the project's name, leave "Initialize repository" unticked, leave it public, and create it.

  2. On your own computer, in the project's folder:

    git push ssh://git@forge.example.org/you/PROJECT.git HEAD:master
    

    HEAD:master means "send what I have checked out, as the branch master there".

Skipping step 1 for many projects. A forge can create a repository when one is first pushed to. The forge's administrator switches that on in the forge's settings file (app.ini):

[repository]
ENABLE_PUSH_CREATE_USER = true
DEFAULT_PUSH_CREATE_PRIVATE = false

The first line allows it; the second makes such repositories public. The forge must be restarted afterwards. Without this, each repository has to be created by hand first.

A2. Point the site at the account

watch tells the site to import every repository of one forge account, now and from then on. Any member can do it, for their own account; the owner is a member too.

folio watch https://forge.example.org/you

The site asks the forge which repositories you holds and imports each. You should see one line per project, then two closing lines, for example:

The site now watches https://forge.example.org/you. Importing what is there:
project 1.2 accepted: a new package, and you are its maintainer.
other: not imported: cannot tell how this project is built: it has no Makefile, ...
Done. Whatever you add or push there is imported within a few minutes.
(What could not be imported, and why: imports)

Each imported project gets one build per release the site builds for, queued for a build node.

From then on, every two minutes the site looks again. A new commit is imported and built. A new repository becomes a new package.

At most 5 repositories new to the site are imported at a time (the setting import-per-pass), by watch and by each timed import; a timed import also begins no new one after 10 minutes. The rest wait for the next imports, a few minutes apart, by turns between the watched accounts, the one the site saw first coming first. watch then says N more new repositories wait: .... New commits of the site's own packages are looked at first, before any new repository, and are not counted.

What to know:

  • Type the account's address exactly as the forge itself knows it, the way its own pages and clone buttons show it, as an https:// address (an http:// or git:// address is refused with a repository address must start with https:// (http and git are not accepted)). The site only takes repositories whose clone address contains what you typed; with another spelling of the host it finds nothing.
  • One account per member. A second watch replaces the first.
  • Whoever watches becomes the maintainer of the packages it makes. Nothing checks that the forge account is theirs.
  • Which part. A new package from a member starts in unsafe; from a maintainer, an administrator or the owner, in main.
  • Names. A package gets its repository's name in lower case, with _ turned into -. A repository whose name cannot be a package name, or whose name another person's package already has, is not imported, and imports says so.
  • The site's own repositories are skipped: dur-record and dur-site (part B) are never imported.
  • At most 300 repositories of one account are looked at.
To Type
see what was turned down, and why ssh folio@dur.example.org imports
import one repository only, and follow it folio follow https://forge.example.org/you/project.git
the same, under another package name folio follow https://forge.example.org/you/project.git NAME
have the site look at one project now folio fetch PROJECT
stop importing new commits of one project folio unfollow PROJECT. It stays that way, also under a watch, until you follow it again: folio follow ADDRESS PROJECT
stop watching the account folio unwatch. The packages stay, and still follow their repositories

A3. Everyone on the forge

watch covers one account, named by a member, who is someone the site already trusts. To take in projects from everyone on the forge, there is a second way, with an approval step in between.

Finding is not building. The site looks at the whole forge and lists what it finds. Nothing is fetched and nothing is built until a maintainer or an administrator of the site lets a project in.

  1. The owner or an administrator gives the forge's own address:

    folio admin watch-forge https://forge.example.org
    

    You should see found, waiting to be let in: OWNER/PROJECT for each project found, then:

    Done. Nothing was fetched or built: each project waits to be let in.
    

    From then on the site looks every two minutes, and a new public project from anyone on the forge is added to the list.

  2. Anyone with an account can see what is waiting:

    ssh folio@dur.example.org found
    

    Each line is OWNER/PROJECT, where it lives, and waiting, or declined: with when, by whom and why. The site's page Found on the forge, under Packages, shows the waiting ones to everyone.

    Below the list, the page says what the last look at the forge saw and why the rest is not listed. These are not listed:

    • the site's own repositories (the copies it writes to the forge, part B);
    • projects the site imports already (let in earlier, or followed by someone);
    • projects under an account a member watches (part A2): they are imported from there.

    So an empty list is explained, for example:

    Nothing is waiting. The last look at the forge (2026-11-26) saw 14 projects: 11 are imported already, 2 are this site's own, 1 is under an account a member watches.
    

    When the site does not watch a whole forge, the page says so, with the command to set it up. When the forge did not answer, it says that.

    A project that was removed comes back here. A project that was on the site and was then removed (request NAME delete, or merged into another) is not imported again by itself, even when its repository is still under an account a member watches. It is listed as waiting again, marked removed from this site on DATE (REASON), so that someone decides again: admit brings it back, decline keeps it out. The member who watches the account sees the same in imports, with how to bring it back without an administrator: follow ADDRESS.

  3. A maintainer or an administrator looks at the project where it lives, on the forge, and then lets it in:

    folio admit OWNER/PROJECT
    

    The site fetches it, works out its packaging, and queues its builds. Among the lines it prints you should see:

    PROJECT VERSION accepted: a new package, without a maintainer yet.
    OWNER/PROJECT is let in as PROJECT. Its new commits are imported and built from now on.
    

    From then on its new commits are imported and built as they come; a project is let in once, not every commit.

    If a package of that name exists already, give another: admit OWNER/PROJECT OTHER-NAME. A project with its own debian/ folder cannot be renamed this way: its name is the one its packaging states.

  4. Or turns it down:

    folio decline OWNER/PROJECT REASON
    

    It is no longer shown as waiting and is never built. It can still be let in later with admit.

What is particular about a package let in this way:

  • It has no maintainer. The site only found it; nobody vouched for it. Its page names the forge account it belongs to. A member who will look after it runs folio adopt PACKAGE.
  • It is in the unreviewed part (unsafe), whoever let it in. An administrator can move it: admin move PACKAGE main.
  • A member's own watch comes first. Projects in an account a member watches are theirs, and do not appear in this list, except one that was removed from the site (see step 2).
Command Who may run it
admin watch-forge, admin unwatch-forge owner, administrators
found anyone with an account
admit, decline maintainers, administrators, owner

Limits: one whole forge at a time (a second admin watch-forge replaces the first), and at most 2000 public repositories on it are looked at.

To stop looking: folio admin unwatch-forge. Packages already let in stay and still follow their repositories. What was found and not yet decided stays in found and can still be let in.

A4. Limiting where the site imports from (optional)

Without a limit, a member can have the site follow or watch any public address. To keep it to your forge, as an administrator:

folio admin set sources https://forge.example.org/

An address given to follow or watch must then begin with one of these. Several go on the one line, with spaces between them. (admin watch-forge and admit are an administrator's and a maintainer's own decisions, and are not limited by this.)


B. The site writes itself to the forge

The site can keep two repositories on the forge and commit to them by itself whenever something changes. That makes the site visible and browsable on the forge, and keeps a running copy of most of it.

Repository What is in it
dur-record the site's record: accounts, packages, votes, comments, settings, with every change as a signed commit. It is a full copy of the record, but not of the site: see Backup and Restore
dur-site every generated page as a file; the apt archive, with the built packages in apt/pool/; and a README.md with a table of all packages

Opening dur-site on the forge shows the package table straight away. That is where someone browsing the forge sees what the site offers.

dur-site gets a new commit, with every built package in it, whenever the pages or the archive change. It only grows; nothing prunes it. On a busy site, watch its size on the forge.

B1. Say where, and confirm the forge's key

If you named the forge in the guided setup and confirmed its key there, B1 is done (folio admin publish-key shows the confirmed key), and so is B2 if its check said the site may write there. for both repositories.

The site sends nothing to a forge until an administrator has confirmed the SSH host key of the forge's server: verify, then trust. This takes two commands, both signed, as the owner or an administrator.

First, say where.

folio admin publish-to ssh://git@forge.example.org/you

The address is the one git uses to write to the forge over SSH, up to and including the account. If the forge's SSH listens on another port, the port goes after the host: ssh://git@forge.example.org:2222/you.

The site fetches the host key of the forge's server (on that port, at every address the forge's name has, IPv6 and IPv4 alike, in at most 30 seconds each) and keeps it as pending, under the forge's name. Nothing is recorded or sent yet. (Every address is asked because a forge whose IPv6 address does not answer, or that listens on IPv4 only, would otherwise show no key: ssh-keyscan alone asks only a name's first address. ssh then connects to whichever address answers, and trusts it only with the confirmed key.) The answer shows the key's fingerprint:

The forge's server at forge.example.org (port 22) shows this SSH host key:
   SHA256:Jh1mH0kq3u... (ED25519)

Nothing is sent to the forge until an administrator confirms it. Compare
it first with the server's own: on the forge's server,
   ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub
(or the forge's admin page). Only if they are the same, confirm it with
the fingerprint you compared:
   admin publish-to ssh://git@forge.example.org/you FINGERPRINT

Then compare. Get the forge server's own fingerprint by a way that does not pass through the network the site uses: on the forge's server itself, ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub, or from its administrator, or from the forge's admin page. A Forgejo or Gitea that runs its own SSH server keeps its key elsewhere (on a Forgejo, by default under data/ssh/ in its folder); its administrator knows where. If the fingerprints differ, stop: someone may be between the site and the forge.

Then confirm, with the fingerprint you compared:

folio admin publish-to ssh://git@forge.example.org/you SHA256:Jh1mH0kq3u...

The fingerprint must be one the forge's server showed for that address in the first step; any other is refused with FINGERPRINT is not the fingerprint of a key the forge's server at HOST (port PORT) showed; nothing was changed. Fetch its key again with: admin publish-to ADDRESS. Once confirmed, the site records the address and the fingerprint (the settings publish-to and publish-host-key, as a signed change), keeps that key as the only one ssh trusts there, and says:

The forge's SSH host key SHA256:Jh1mH0kq3u... is confirmed. The site sends to forge.example.org
with that key only, and stops if the server shows another.

The answer goes on to name the two repositories and prints a key line:

ssh-ed25519 AAAA... folio-site-dur

That is the public half of a key the site made for itself, for writing to the forge. The private half is held by the site's signer (/var/lib/folio-sign/forge/key), which does the sending; on a site of the older kind it is in the site's private folder. To see the public half again: ssh folio@dur.example.org admin publish-key, which also shows the forge's host key the site trusts: The forge's SSH host key, as an administrator confirmed it: SHA256:....

B2. Let the site in

The forge must accept that key, with the right to write. There are two ways. Use the second on a forge you share with others.

The simple way: add it to your account. On the forge:

  1. Click your picture at the top right, then Settings.
  2. SSH / GPG Keys, then Add Key.
  3. Give it a name (for example folio site), paste the whole key line into the content box, and save.

This lets the site write to every repository your account can write to.

The tight way: one deploy key per repository. On the forge:

  1. Create the two repositories first, empty and public: dur-record and dur-site (the + at the top right, New Repository, leave "Initialize repository" unticked).
  2. In each: Settings, Deploy Keys, Add Deploy Key. Paste the same key line, and tick Enable write access.

This lets the site write to those two repositories and nothing else. A key can be on an account or be a deploy key, not both: if you added it to your account before, remove it there first.

B3. Create the repositories, if the forge does not

If the forge creates repositories on the first push (see A1), skip this. Otherwise create dur-record and dur-site on the forge by hand, empty and public, as in the tight way above.

B4. Send

folio admin publish-now

You should see:

The record was sent to ssh://git@forge.example.org/you/dur-record
The pages and the archive were sent to ssh://git@forge.example.org/you/dur-site

The site connects only to a server that shows the host key confirmed in B1 (ssh runs with StrictHostKeyChecking=yes and that key as the only known host, never "trust on first use"). The key is kept in /srv/folio/private/forge/known_hosts, and its fingerprint in the record's settings (publish-host-key).

When the forge's key changes. A forge whose server shows another key gets nothing. admin publish-now, and the activity log, say:

the record, the pages and the archive could not be sent to the forge: the forge's server did not show the SSH host key confirmed for it (it was changed, or someone is in between), so nothing was sent. If the forge's key was changed on purpose: admin publish-to ADDRESS, compare the fingerprint it shows with the forge server's own (on that server: ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub), then confirm it: admin publish-to ADDRESS FINGERPRINT

Ask the forge's administrator whether its key was changed on purpose (a reinstalled server, say). If it was, do B1 again with the same address: fetch the new key, compare it, confirm it. If nobody changed it, do not confirm it: find out who is answering in the forge's name.

On a restored or moved site the record names the confirmed fingerprint, but the server has no known_hosts yet. The site fetches the forge's key again and keeps it only if it has that fingerprint (the activity log says the forge's SSH host key was fetched again from HOST; it is the one confirmed (SHA256:...)). If it has another, nothing is sent, with the message above.

A site that published before keys were confirmed (an earlier Folio took the forge's key the first time it wrote there) goes on working with the key it has. It says so once, in admin publish-now, the activity log and a mail to the owner: The forge's SSH host key (SHA256:... (ED25519)) was trusted the first time the site wrote there, without being confirmed. Confirm it: .... Confirm it as in B1, with the address the site has.

After that the timed job sends what changed every two minutes, by itself. Both repositories get the branch master. admin publish-now sends at once; when nothing changed since the last time it says Nothing has changed since the last time.

If something else comes back:

It says Why, and what to do
... could not be sent to the forge: the forge did not let the site's key in (admin publish-key shows the key to add there) the key was not saved on the forge: B2
... could not be sent to the forge: and git's own complaint that the repository does not exist the forge does not create repositories on the first push: B3
... could not be sent to the forge: and git's own complaint about having no right to write the key was added as a deploy key without Enable write access
... could not be sent to the forge: the forge's SSH host key is not confirmed yet, so nothing is sent: admin publish-to ADDRESS fetches it, to compare and confirm the second step of B1 was not done
... could not be sent to the forge: the forge's server did not show the SSH host key confirmed for it ... the forge's server shows another key than the one confirmed: see "When the forge's key changes" above
The pages and the archive were not sent: the site's signing key ... the site's signing key has run out or was revoked. Its commits are signed with that key, so nothing is sent until the owner renews it or makes a new one (the line names the commands: folio-site-key on the owner's computer, then folio-key import BUNDLE on the server; see Owner and Administrator Guide). The site takes no changes meanwhile
the pages and the archive could not be sent to the forge: and git's complaint that the push was rejected dur-site on the forge has commits the site does not know (someone pushed to it). On the server, as root: sudo rm -rf /srv/folio/cache/published.git, then admin publish-now again. The site then fetches the forge's copy again. It builds on that history only if its newest commit is one the site signed; otherwise it says the forge's copy of the pages ends in a commit the site did not sign, so the site does not build on its history: the copy starts afresh, and replaces the forge's
the record could not be sent to the forge: the forge's record holds changes this site's record does not have: ... the site sends its record only on top of what the forge holds, never over a newer one: after a restore from an older backup, or when someone changed dur-record on the forge. See Backup and Restore

To stop

folio admin publish-off

You should see Nothing more is sent. What is on the forge stays there. The confirmed fingerprint goes from the settings with it: to publish again, do B1 again. The site's key also stays on the forge until you remove it there.

What is never sent

The site's private folder and its signer's folder: the signing keys, people's mail addresses, the forge key and the forge token. Those stay on the server, and need a backup of their own (Backup and Restore).


C. The packages in the forge's package list

A forge keeps, for each account, a list of packages: on a Forgejo it is the Packages tab of the account, at https://forge.example.org/you/-/packages. Each package there has a page of its own with its files to download directly. Some people prefer that to apt. This part has the site upload every package it publishes there.

C1. Say where

If you gave the package list's address and the token in the guided setup, C1 to C3 are done: go on to C4.

As the owner or an administrator:

folio admin registry-to https://forge.example.org/you

This is the account's ordinary web address: https://, the forge's name (with :PORT if it has one), and the account's name, nothing more. The answer says where the packages will go, and that a token is needed next. Do this first: the site takes a token only for a package list it names.

C2. Make an access token on the forge

An access token is a long password the forge makes for one purpose. This one may only write packages. On the forge:

  1. Click your picture at the top right, then Settings.
  2. Applications.
  3. Under Generate New Token:
    • Token Name: anything, for example folio packages.
    • Repository and organization access: choose All (public, private, and limited).
    • Open Select permissions. Set package to Read and Write. Leave every other line at No Access.
  4. Click Generate Token.
  5. The forge shows the token once, at the top of the page: one line of letters and digits. Copy it now. It cannot be shown again; if you lose it, delete it and make another.

C3. Give the token to the site

On your own computer:

  1. Save the token's one line in a file, for example ~/folio-token.

  2. Send it:

    folio admin registry-token < ~/folio-token
    

    The < feeds the file's content to the command, so the token appears in no command line and no log. You should see The token is kept for https://forge.example.org/you (in the site's private folder; it is never shown again, and never sent anywhere else).

  3. Delete the file: rm ~/folio-token. The site keeps its own copy in its private folder until its next sending to the forge, which hands it to the site's signer; from then on the signer holds it.

The token is bound to its address. The site keeps the token together with the package list it was given for (the address of C1 at that moment), and sends it there and nowhere else. If the address is changed later (admin registry-to again), nothing is uploaded until the token is given again, for the new address: make one there (C2) and give it (C3). This is on purpose: whoever could change the site's settings without the owner (someone who broke into the server) can then not have the token sent to a server of their own. A site that had a token before this rule came keeps it: when folio-install is run after the upgrade, it binds the token to the package list the site names then and says so; if that is not the forge the token was made on, give it again (C3).

C4. Send

folio admin publish-now

You should see a line like:

52 package files were put into the forge's package list at https://forge.example.org/you/-/packages

Open https://forge.example.org/you/-/packages to see them. From then on each newly published package is added by the timed job, by itself.

If something else comes back:

It says Why, and what to do
The forge's package list is set, but no access token was given yet (admin registry-token). C3 was not done
The forge's package list: the forge did not accept the access token (it needs the right to write packages) the token is wrong, or lacks package: Read and Write. Make another (C2) and send it again (C3)
The forge's package list: the forge answered NUMBER for FILE the forge refused that file for another reason; its own log says why
... the registry address changed since the token was given ...; give the token again: admin registry-token < FILE the package list's address (C1) was changed after the token was given. Give a token for the new address (C2, C3). If you did not change it, someone else did: see the Troubleshooting page
... the access token was given before each token was kept with the address it is for; give the token again ... the token came from an older Folio and could not be bound to an address on the upgrade: give it again (C3)
name the forge's package list first: admin registry-to ... (when giving the token) C1 was not done: the site takes a token only for a package list it names

Things to know

  • Only packages the site has published are uploaded. A build waiting for review is not.
  • The number in N package files were put ... counts files, not projects: a project has one file per installable package, per release.
  • Removing a package from the site does not remove it from the forge's list. Delete old versions there, in the package's own settings.
  • folio admin registry-off stops it and deletes the token, in the site's private folder and with the signer. Delete the token on the forge too (Settings, Applications, Delete beside it): then it is of no use to anyone.
  • The apt archive people should add to their computers is the site's own, https://dur.example.org/apt/, which is signed with the site's key. The forge's list is for looking and for direct downloads.

Summary: who does what

Step Where Who Can the guided setup do it?
Make project repositories public forge each project's owner no
watch the account site each member, for their own account no
admin publish-to ADDRESS, compare the fingerprint, admin publish-to ADDRESS FINGERPRINT site, and the forge's server for the comparison owner or administrator yes: it asks for the address, shows the fingerprint, and you type the one you compared
Add the site's key (account key or deploy keys) forge whoever may write there no: it shows the key and how, waits, then checks that the site may write
Create dur-record and dur-site forge whoever may no (unless the forge creates on push)
admin registry-to site owner or administrator yes
Generate the access token forge the account's owner no
admin registry-token site owner or administrator yes: from a file, or pasted (not shown)
admin publish-now site owner or administrator yes: it sends once at the end