# kosa8 worker pair

Print a pairing code another device can join this worker with

## Usage

```
kosa8 worker pair --url URL
```

Prints `kosa8 worker join CODE` for a client to run. The code carries this
worker's URL — as the client will reach it, usually a TLS tunnel's address — and
its token. Treat the code like a password: anyone holding it can drive this
worker. Rotate it by deleting ~/.kosa8/worker-token and restarting the daemon.

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--insecure` | bool | allow plain http to a non-loopback address (a private, trusted link only) |  |
| `--url` | string | the URL the other device reaches this worker at (https://…) |  |

## Example

```
  kosa8 worker pair --url https://build-box.example.com:7443
```

---
Source: https://docs.kosa8.com/reference/worker-pair/
