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.
Your laptop
sitesolide deploy
HTTPS, with your token
Dashboard
https://dashboard.<zone>
checked against your roles
Your app
deployed, no SSH key involved
Before you begin
Link to the section Before you begin- 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.
Create a token
Link to the section Create a token- Open
https://dashboard.<zone>and go to Tokens. - Click Unlock to create, and sign in again with your provider.
- Click New token, give it a Name, and tick the Projects it may deploy.
- Tick the Permissions it needs, choose when it Expires, then click Create token.
- 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.
Pick its permissions
Link to the section Pick its permissions| Option | Lets the token | Needs you to be |
|---|---|---|
| Projects it may deploy | Deploy, read logs, restart. | Developer or Admin there. |
| New projects | Create projects, which make you their Admin. | Granted the right to create. |
| Deploy public sites | Deploy a site anyone opens. | Admin of every project it reaches. |
| Use outbound network | Use "network": "outbound" or egress. | Admin of every project it reaches. |
| Declare a domain | Write domain in sitesolide.json. | Admin of every project it reaches. |
| Manage secrets | List 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.
Sign in on your workstation
Link to the section Sign in on your workstationsitesolide 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
Sign in an agent
Link to the section Sign in an agentIn a sandbox, set both variables, which together win over the files:
export SITESOLIDE_API=https://dashboard.<zone>
export SITESOLIDE_TOKEN=<token>
Deploy with the token
Link to the section Deploy with the tokenFrom 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.
Check it worked
Link to the section Check it workedsitesolide status lists the projects your token reaches, their service and their general access.
sitesolide status
Revoke a token
Link to the section Revoke a tokenOn 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.
Next steps
Link to the section Next steps- 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.