# `tartan session`

_For tartan 0.9.36._

## `tartan session add`

open one more org in this session (one you gained since you signed in: me show's others) with your passkey; the session keeps its end time

```
tartan session add --to <string>
```

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

**Person acts:** passkey prompt: the person's passkey opens the org in this session

| Flag | Type | Required | What |
|---|---|---|---|
| `--to` | string | yes | the org to add: its handle or id |
| `--org` | string | no | the session's org (handle or id; default: the profile's) |
| `--sso_token` | string | no | **Secret:** the person's own, never filled in by an AI. a fresh access token for this session's SSO identity: needed for an org you reach through its trust in your organization's SSO (the CLI and the console send it silently when they can) |

## `tartan session end`

end this session: the next command asks for your passkey again (a lock when you step away)

```
tartan session end
```

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

**Step-up exempt:** ends only the caller's own session: it takes access away, never grants it

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | no | org handle or id (default: the profile's) |

## `tartan session lock`

end this session's write window: reads go on, and the next change asks for your passkey

```
tartan session lock
```

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

**Step-up exempt:** ends only the caller's own write window: it takes access away, never grants it

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | no | org handle or id (default: the profile's) |
