
# tdx identity-settings

Inspect sign-in and session settings.

Sign-in and session settings. show works with a bearer holding install-wide identity.read; set and sign-out-everyone are dashboard-only (session-only with step-up). SSO providers are the OIDC identity providers people sign in through, in the separate sso-providers namespace, unrelated to the provider credentials that providers keys manages.

Every command also takes the [global flags](/cli/reference#global-flags) and reads the [environment variables](/cli/reference#environment-variables) that the command reference lists once.

## Commands

| Command | Description | Type |
|---|---|---|
| [tdx identity-settings show](/cli/reference/identity-settings#tdx-identity-settings-show) | Read identity settings. | Read |
| [tdx identity-settings set](/cli/reference/identity-settings#tdx-identity-settings-set) | Change identity settings (dashboard only). | Dashboard only |
| [tdx identity-settings sign-out-everyone](/cli/reference/identity-settings#tdx-identity-settings-sign-out-everyone) | Sign everyone out (dashboard only). | Dashboard only |

## tdx identity-settings show

Read identity settings.

**Reads**

Requires install-wide identity.read. Read password login, single sign-on requirement, password length, session lifetimes, the sign-out epoch, whether SSO users may keep a local password, the number of configured SSO providers and the gateway's warnings. --dry-run still performs this read. See [Masked read output](/cli/reference#masked-read-output), [Sign-in settings output](/cli/reference#sign-in-settings-output) and [Checked request values](/cli/reference#checked-request-values).

```bash
# GET /control/v1/identity-settings
tdx identity-settings show [flags]
```

**Output fields** (inside `data`)

| Field | Type | Description |
|---|---|---|
| `identitySettings` | public-identity-settings | PasswordLogin, ssoRequired, minPasswordLength, sessionIdleMinutes, sessionAbsoluteHours, sessionEpoch, allowLocalPasswordForSsoUsers, providers (configured SSO provider count) and warnings; every value masked under neutral names, so settings normally print real values. |

## tdx identity-settings set

Change identity settings (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: PUT /control/v1/identity-settings is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide identity.manage, with a recent sign-in (step-up) every time. Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read.

```bash
# PUT /control/v1/identity-settings
tdx identity-settings set [flags]
```

## tdx identity-settings sign-out-everyone

Sign everyone out (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: POST /control/v1/identity-settings/sign-out-everyone is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide identity.manage, with a recent sign-in (step-up) every time. It ends every session and signs the asking session back in. Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read.

```bash
# POST /control/v1/identity-settings/sign-out-everyone
tdx identity-settings sign-out-everyone [flags]
```
