Tokenman中文

Admin handbook

This handbook is for two kinds of admin:

Every page is written in two columns, "self-hosted" and "hosted"; a step that applies to only one says so.

PageWhat it covers
Creating and removing accountsInviting a person, creating their account on a machine, what removing an account leaves behind
Subscriptions and quotaUsing the subscription we provide or connecting your own; per-person limits; seeing who used how much
MachinesAdding a machine; what happens in maintenance, when one is taken offline or is lost
Who can see whatWhat admins and members each see; what an admin can and cannot do

What you do yourself, and what you ask us for

TaskSelf-hostedHosted
Invite members, remove accountsYouYou
Add, pause, remove subscriptionsYouYou (we add the ones we provide)
Per-person quotaYouYou
See usage, read the auditYouYou
Add machines, maintenance, taking one offlineYouUs
Who is an adminYou, in the hub's deployment configurationUs, written into the deployment configuration from the list you gave when the hub was opened
Hub upgrades and backupsYouUs

No step in the hosted column needs root or signing in to a machine; the few things that do are in the "Us" column.

Where an admin works from

The web console: open https://hub.example.com/app in a browser and sign in as an admin. The sidebar has an extra Admin group: All sessions · Usage by person · Subscription pool · Service nodes & clients · Users · Settings · Audit. A member who opens these pages sees only "page not found" (404), exactly as for an address that does not exist.

The command line: fleet hub … and fleet users …, there once the client is installed (curl -fsSL https://hub.example.com/install | sh). They need an admin credential, read only from the environment and never written to a file:

Coming: hosted admins will use their fleet login identity on the command line too, with no cookie to copy by hand.

Who is an admin

There are only two roles: admin and user (member). Admins cannot be added or removed on the web; they are written only in the hub's deployment configuration:

A change takes effect once the hub is redeployed. On the Users page an admin's row is read-only and cannot be removed from the web.

Before the first hosted customer

There are seven security gates before going public (the release signing key, root on the machines, credential lifetimes and so on). Until all seven are green we open no hosted customer; promoting it publicly needs at least gate 1 green.

What each of the seven is and why: Security and isolation.