# `tartan org`

_For tartan 0.9.36._

## `tartan org create`

create an org: its anchor and first CA (escrowed before use) and its epoch-0 trust doc

```
tartan org create --handle <string>
```

**Role:** owner · **Writes:** yes · **Steps up:** always

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--handle` | string | yes | lower-case handle |
| `--display_name` | string | no | the org's display name (default: the handle) |
| `--v6_prefix` | string | no | the registry /48 (random in fd14:4fb8::/30 if absent) |
| `--v4_prefix` | string | no | kept IPv4 range |
| `--owner_name` | string | no | the first Owner's name (default Owner) |
| `--owner_handle` | string | no | the first Owner's identifier (default &lt;handle>-owner) |
| `--no_owner_invite` | bool | no | make no first-Owner invite (an org the operator runs, e.g. through the break-glass channel) |
| `--migrated_from` | string | no | an org moved from an earlier system in one cutover, recorded as the setting migrated_from; needs v4_prefix |
| `--discoverable` | bool | no | born discoverable: for test orgs; any other org's Owner opts in |

## `tartan org delete`

delete an org: switched off now, purged after 14 days; --cancel undoes it inside the window (by whoever started it)

```
tartan org delete --org <string>
```

**Role:** owner · **Writes:** yes · **Steps up:** some · **Dry run:** `--dry-run`

**Step-up exempt:** finishes the key retire the Owner's signer-verified approval fixed

**Person acts:** passkey prompt for most requests (step_up_exempt names the ones without): the person approves the exact write with their passkey; an Owner approves it with their passkey: it stays pending (exit 3) until then, then finish it with --approval &lt;id>

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--confirm` | string | no | the org's handle, typed again |
| `--cancel` | bool | no | cancel the deletion in progress |
| `--class` | string | no | the instance operator only: operator (default) or legal |
| `--reason` | string | no | why (required from the operator) |
| `--ticket` | string | no | the request's reference (required from the operator) |
| `--approval` | string | no | an Owner's approval of the signer's retire (or, with --cancel, cancel) request: finishes that step |
| `--operator_request` | string | no | the instance operator only: the operator's request id, which the signer checks itself |

## `tartan org deletion`

the org's deletion in progress, if any: who started it, why, and when the purge runs

```
tartan org deletion --org <string>
```

**Role:** viewer · **Writes:** no · **Steps up:** never

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |

## `tartan org export`

export an org's state to move it to another controller (no key material)

```
tartan org export --org <string>
```

**Role:** owner · **Writes:** no · **Steps up:** never

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |

## `tartan org nat-prefix add`

give the org another IPv6 NAT /64, drawn from Tartan's NAT pool (fd14:4fbb:fff0::/44); --approval submits a registry request approved earlier

```
tartan org nat-prefix add --org <string>
```

**Role:** owner · **Writes:** yes · **Steps up:** some · **Batch:** may share one passkey prompt

**Step-up exempt:** finishes what the Owner's signer-verified approval fixed

**Person acts:** passkey prompt for most requests (step_up_exempt names the ones without): the person approves the exact write with their passkey; it can share one passkey prompt with other writes (tartan batch run); a new range is drawn from Tartan's NAT pool at once, with nothing pending; --approval only finishes a registry request an Owner approved before

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--approval` | string | no | an approved registry request, to sign and submit |

## `tartan org overview`

the Overview page's counts: devices, convergence (read, never run), and what the caller's role can act on

```
tartan org overview --org <string>
```

**Role:** viewer · **Writes:** no · **Steps up:** never

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |

## `tartan org register`

register the org in the Tartan registry (org, allocation, CA, controller): pending until the Owner approves; then again with --approval

```
tartan org register --org <string>
```

**Role:** owner · **Writes:** yes · **Steps up:** some · **Batch:** may share one passkey prompt

**Step-up exempt:** finishes what the Owner's signer-verified approval fixed

**Person acts:** passkey prompt for most requests (step_up_exempt names the ones without): the person approves the exact write with their passkey; it can share one passkey prompt with other writes (tartan batch run); an Owner approves it with their passkey: it stays pending (exit 3) until then, then finish it with --approval &lt;id>

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--approval` | string | no | the approved request, to sign and submit |

## `tartan org rename`

change the org's display name: a new trust doc epoch, pending the Owner's approval

```
tartan org rename --org <string> --display_name <string>
```

**Role:** owner · **Writes:** yes · **Steps up:** always

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; an Owner approves it with their passkey: it stays pending (exit 3) until then, then finish it with --approval &lt;id>

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--display_name` | string | yes | one script, at most 64 characters, no .tartan.net claim |

## `tartan org ring`

move the whole org to an update ring (canary | early | main | late; default = main): clears every device's own ring, so every device follows the org

```
tartan org ring --org <string> --ring <string>
```

**Role:** admin · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run`

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--ring` | string | yes | canary \| early \| main \| late (default is accepted as main) |

## `tartan org set`

set an org setting (dormant_after, checkin_interval_s, reaper, partner_ttl, join_require_tpm, warp, ...; require_sso and discoverable: an Owner; browser_access full|admin|view|off, view recommended: any Admin lowers it, an Owner raises it; admin_device_approval oidc-auto|oidc-auto-computers|manual: any Admin lowers it, an Owner raises it; tech_selfserve_lifetime and tech_lifetime_max: at most 10h, a longer mint is refused; write_window 0|15m|1h|3h|8h|12h and write_window_browser 0|15m|same, with --from the value you read: any Admin tightens, an Owner loosens; session_length 16h|12h|8h|4h: any Admin shortens, an Owner lengthens; window_device_resume ride|ask, with --version: any Admin sets ask, an Owner ride; home_approval_ttl 2m|5m|10m|15m|30m|60m: any Admin shortens, an Owner lengthens; outside_local_approval off|1h|4h|12h|24h|72h|168h: any Admin shortens or turns it off, an Owner lengthens; --reset with --version: the setting follows the posture again)

```
tartan org set --org <string> --key <string>
```

**Role:** admin · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run` · **Batch:** may share one passkey prompt

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--key` | string | yes | the setting's name (dormant_after, checkin_interval_s, ...: org show lists them) |
| `--value` | json | no | a JSON value (or --reset) |
| `--reset` | bool | no | drop the org's own value of a setting the postures move: it follows the posture again (with --version; an Owner's when the posture's value is looser) |
| `--from` | string | no | write_window and write_window_browser: the value you read (org settings); refused if it changed since |
| `--version` | string | no | the posture version you read (posture show): refused if the security settings moved since |

## `tartan org settings`

the org's settings (key: JSON value; admin_device_approval as it is read, its default oidc-auto when unset; a tech lifetime stored above 10h as "10h (stored &lt;value>; capped by the platform floor)")

```
tartan org settings --org <string>
```

**Role:** viewer · **Writes:** no · **Steps up:** never

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |

## `tartan org setup`

set up a new org from a plan in as few passkey prompts as control allows

```
tartan org setup --plan <file> [--approval <id>] [--dry-run]
```

**Role:** anyone · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run` · **Local:** this CLI runs it, outside control's verb table

**Person acts:** a passkey prompt at each batch and another for the Owner's approval of the registration (--dry-run reports passkey_prompts)

| Flag | Type | Required | What |
|---|---|---|---|
| `--plan` | string | yes | the setup plan (JSON: register, publish_names, writes, after_register) |
| `--approval` | string | no | the registry request `tartan signup --new-org --register` made: the plan's register approves and finishes it instead of asking again |
| `--dry-run` | bool | no | show every step and the passkey prompts it will ask, change nothing |
| `--json` | bool | no | compact JSON output |
| `--profile` | string | no | a network profile (tartan profile init + signup or login) |
| `--sso-token` | string | no | **Secret:** the person's own, never filled in by an AI. a fresh access token from your organization for the step-ups, or @file |

## `tartan org show`

show an org

```
tartan org show --org <string>
```

**Role:** viewer · **Writes:** no · **Steps up:** never

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |

## `tartan org sso-off`

turn the org's own SSO off (an Owner): remove the IdP trust rules naming your own provider's issuer, turn require_sso off, and clear its people's SSO links; a partner's rule stays (remove one with idp trust remove)

```
tartan org sso-off --org <string> --issuer <string>
```

**Role:** owner · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run`

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--issuer` | string | yes | your org's own SSO provider's issuer, as idp trust list shows it |

## `tartan org suspend`

suspend an org (no cert is issued while suspended)

```
tartan org suspend --org <string>
```

**Role:** owner · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run`

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |

## `tartan org v4 add`

give an org with no IPv4 range one from Tartan's pool (a /24; --size 23 or 22 for more): stages a CA carrying it for the Owner's trust doc; tartan ca flip then gives the org the range and its devices their addresses

```
tartan org v4 add --org <string>
```

**Role:** owner · **Writes:** yes · **Steps up:** always

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--size` | int | no | the range's prefix length: 24 (the default, 253 devices), 23 or 22 |

## `tartan org zone-ds`

publish the DS of the org's signed zone in the registry (a new zone statement), so the parent can delegate it: pending until the Owner approves; then again with --approval

```
tartan org zone-ds --org <string>
```

**Role:** owner · **Writes:** yes · **Steps up:** some · **Batch:** may share one passkey prompt

**Step-up exempt:** finishes what the Owner's signer-verified approval fixed

**Person acts:** passkey prompt for most requests (step_up_exempt names the ones without): the person approves the exact write with their passkey; it can share one passkey prompt with other writes (tartan batch run); an Owner approves it with their passkey: it stays pending (exit 3) until then, then finish it with --approval &lt;id>

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--approval` | string | no | the approved request, to sign and submit |
