Skip to content
sitesolide

Docs Guides

Teammates and tokens

Colleagues and agents deploy with a token, over HTTPS, while only the owner holds SSH to the server. A token can be revoked at any time, and never does more than its holder's roles.

  1. Your laptop

    sitesolide deploy

  2. HTTPS, with your token

    Dashboard

    https://dashboard.<zone>

  3. checked against your roles

    Your app

    deployed, no SSH key involved

  • Company sign-in, set up by the owner: see Access and sign-in.
  • A Developer or Admin role on a project, or the right to create projects, which the owner grants with sitesolide people <email> --may-create. A Viewer mints no token.
  1. Open https://dashboard.<zone> and go to Tokens.
  2. Click Unlock to create, and sign in again with your provider.
  3. Click New token, give it a Name, and tick the Projects it may deploy.
  4. Tick the Permissions it needs, choose when it Expires, then click Create token.
  5. Copy the token, which starts with sst_. It is shown once.

The owner creates tokens the same way, for their own agents or for someone in People, and unlocks with the dashboard's password.

OptionLets the tokenNeeds you to be
Projects it may deployDeploy, read logs, restart.Developer or Admin there.
New projectsCreate projects, which make you their Admin.Granted the right to create.
Deploy public sitesDeploy a site anyone opens.Admin of every project it reaches.
Use outbound networkUse "network": "outbound" or egress.Admin of every project it reaches.
Declare a domainWrite domain in sitesolide.json.Admin of every project it reaches.
Manage secretsList names, set and remove variables.Developer or Admin there.

The server checks your roles at every request: lowered to Viewer on a project, your token stops deploying it.

sitesolide login --url https://dashboard.<zone>

It asks for the token without echoing it, checks it, and keeps it in ~/.config/sitesolide/secrets/.

-> signed in to https://dashboard.example.com
   projects: notes

In a sandbox, set both variables, which together win over the files:

export SITESOLIDE_API=https://dashboard.<zone>
export SITESOLIDE_TOKEN=<token>

From the project's folder:

sitesolide deploy

A token runs deploy, status, logs, share, secrets and restart. Other commands, and deploy --dry-run, need the owner's SSH. A project the token creates is Restricted unless it may deploy public sites. A static site cannot be Restricted, so creating one needs that permission.

sitesolide status lists the projects your token reaches, their service and their general access.

sitesolide status

On Tokens, click Revoke on its row, then Revoke token. No unlock is needed, and the next request with it is refused.

Your tokens are revoked too when you no longer sign in to the dashboard. A person holds ten live tokens at most.

  • Access and sign-in: give people the roles their tokens follow.
  • Secrets: set variables with a token that may manage secrets.
  • Agents: let an agent deploy with its own token.