# `tartan admin-device`

_For tartan 0.9.36._

## `tartan admin-device approve`

approve a device key for privileged writes (it registers itself when its user signs in)

```
tartan admin-device approve --org <string> --kid <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 |
| `--kid` | string | yes | the device key id |

## `tartan admin-device list`

the org's admin devices

```
tartan admin-device list --org <string>
```

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

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

## `tartan admin-device outside`

devices of people from other orgs that have acted here, with their home org; block one with admin-device revoke

```
tartan admin-device outside --org <string>
```

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

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

## `tartan admin-device revoke`

revoke an admin device

```
tartan admin-device revoke --org <string> --kid <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 |
| `--kid` | string | yes | the admin device key id, as admin-device list shows it |
