You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To register your node with the mesh and obtain a cryptographic identity token (Biscuit), run the OIDC authorization flow.
43
+
To register your node with the mesh and obtain a cryptographic identity token (Biscuit), you can use either the interactive OIDC authorization flow or the non-interactive bootstrap token flow.
44
44
45
-
### Using the Binary
45
+
### Option A: Interactive OIDC Flow (Default)
46
+
47
+
The interactive flow uses your browser to authenticate your identity against Dex (OIDC):
48
+
49
+
#### Using the Binary
46
50
```bash
47
51
sam-node join https://bananas.sam-mesh.dev
48
52
```
49
53
50
-
### Using Docker
51
-
Create a local directory to persist your node identity:
The CLI will output a Device Authorization URL (if headless/Docker) or open your browser (if using the binary natively). Once authenticated, the node registers and saves the identity to `~/.config/sam-mesh/agent.db` (or `/data/agent.db` in Docker).
63
+
The CLI will output a Device Authorization URL (if headless/Docker) or open your browser natively. Once authenticated, the node registers and saves the identity database.
*Note: In non-interactive mode, unless the Hub runs with `--auto-approve-enrollment`, the enrollment request remains **PENDING** until approved manually by a network administrator.*
Copy file name to clipboardExpand all lines: site/content/docs/user/control-plane-configuration.md
+58Lines changed: 58 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,3 +153,61 @@ Administrators can immediately revoke any active session to disable a node's abi
153
153
}
154
154
```
155
155
***Enforcement**: Revoked nodes are marked as banned in the database. When the node next attempts a proactive `/refresh` handshake, the request is denied with a `403 Forbidden` status, and the node's local daemon immediately terminates.
To enroll a headless server, router, or background daemon that cannot complete interactive OIDC authentication, SAM supports a **Bootstrap Token** flow.
162
+
163
+
### Step 1: Generate a Bootstrap Token
164
+
165
+
An administrator with the `admin-token` can dynamically generate a time-bounded, single-use bootstrap token:
Alternatively, you can boot the control plane with `--auto-approve-enrollment` to automatically approve all valid bootstrap token requests without manual gates.
0 commit comments