# `tartan profile`

_For tartan 0.9.36._

## `tartan profile init`

make a network profile: which control, controller and org this CLI talks to, and its device key

```
tartan profile init --api <url> --aud <controller id> --org <org> [--profile <file>] [--another]
```

**Role:** anyone · **Writes:** yes · **Steps up:** never · **Local:** this CLI runs it, outside control's verb table

| Flag | Type | Required | What |
|---|---|---|---|
| `--api` | string | yes | the admin API URL (profile init) |
| `--aud` | string | yes | the controller id (profile init) |
| `--another` | bool | no | profile init: a second person on this Windows account, with its own new key (else an org this computer already has a profile for keeps that one) |
| `--json` | bool | no | JSON output (always) |
| `--key` | string | no | profile init: the device key: tpm (the person's key in the TPM) or software |
| `--org` | string | no | the org id (profile init; omit for a self-serve sign-up, which sets it) |
| `--profile` | string | no | the profile file (default: this computer's, shared with the console) |
| `--rp-id` | string | no | profile init: the passkey relying party id (default: the --api host) |
| `--rp-origin` | string | no | profile init: the passkey origin (default: the --api scheme and host) |
| `--sso-client-id` | string | no | profile init: the client id Tartan uses at --sso-issuer |
| `--sso-issuer` | string | no | profile init: the org's SSO issuer, when sign-up needs it (else the first passkey sign-in records it) |
| `--sso-scope` | string | no | profile init: Tartan's API scope at the issuer (default api://&lt;client id>/.default, Entra's default Application ID URI) |

## `tartan profile list`

the catalog and the org's profiles

```
tartan profile list --org <string>
```

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

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

## `tartan profile remove`

remove one of the org's own profiles (an override reverts to the catalog's; refused while in use otherwise)

```
tartan profile remove --org <string> --name <string>
```

**Role:** tech · **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 |
| `--name` | string | yes | the profile's name |

## `tartan profile set`

add or change a profile (a named port list)

```
tartan profile set --org <string> --name <string> --ports <list>
```

**Role:** tech · **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 |
| `--name` | string | yes | the profile's name |
| `--ports` | list | yes | ports or lo-hi ranges |

## `tartan profile show`

one profile (the org's own over the catalog's) and what carries it: devices, NAT resources, live join codes, reservations

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

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

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the profile's name |
