# `tartan idp`

_For tartan 0.9.36._

## `tartan idp trust add`

trust an OIDC issuer and group as a role ("issuer X, group Y, as Tech")

```
tartan idp trust add --org <string> --issuer <string> --client_id <string> --value <string> --role <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 |
| `--issuer` | string | yes | the issuer URL (https) |
| `--client_id` | string | yes | the org's client id at that issuer (the token's aud) |
| `--value` | string | yes | the group value |
| `--role` | string | yes | admin \| tech \| viewer |
| `--claim` | string | no | the group claim (default groups) |
| `--mfa_claim` | json | no | an MFA claim the token must show (default: none; the Tartan passkey is the MFA) |
| `--auto_approve_devices` | bool | no | oidc-auto for tech devices and, in your home org under admin_device_approval (oidc-auto by default), admin devices |

## `tartan idp trust list`

the org's OIDC trust rules

```
tartan idp trust list --org <string>
```

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

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

## `tartan idp trust remove`

remove a trust rule and the roles it granted (a rule that grants Admin: an Owner)

```
tartan idp trust remove --org <string> --rule <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 |
| `--rule` | string | yes | rule id |
