
# tdx config

Inspect compiled gateway configuration.

Read compiled gateway configuration (status.read). Provider credential binding names are never printed here; use tdx providers keys list.

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 config show](/cli/reference/config#tdx-config-show) | Read the compiled providers and routers. | Read |

## tdx config show

Read the compiled providers and routers.

**Reads**

Requires install-wide status.read. Reads GET /control/status: the compiled providers and routers. Stored provider credential binding names are never printed, even when the gateway includes them for credentials.read; use tdx providers keys list for binding names. Those names remain in the masking context, so a printed id containing one prints as █. Every printed value comes from one fail-closed masking pass over the request, the whole gateway reply (including fields the CLI drops) and the CLI's projection, before selection/jq; █ marks masked values.  A reply that cannot be masked within the fixed limits fails with OUTPUT_MASK_LIMIT (exit 7) and no values; a malformed reply fails with INVALID_RESPONSE (exit 7). --dry-run still performs this read.

```bash
# GET /control/status
tdx config show [flags]
```

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

| Field | Type | Description |
|---|---|---|
| `providers` | compiled-provider[] | Compiled providers: groupId, clientDialectId, publicModelId, enabled and listed. |
| `routers` | compiled-router[] | Compiled routers: modelGroupId and publicModelId. |

**Examples**

Read the masked public projection as versioned JSON:

```bash
tdx config show --json
```

Select declared output fields:

```bash
tdx config show --json=providers
```

**See also:** [tdx providers keys list](/cli/reference/providers#tdx-providers-keys-list), [tdx audit status](/cli/reference/audit#tdx-audit-status)
