tdx profile#

Your own gateway account profile (not a local connection profile).

Read your own gateway account profile and its linked identities with a bearer. This is your gateway account profile, not the local connection profile that the global --profile flag or TOKEDEX_PROFILE selects and auth login/logout manage; --profile only chooses which saved local credential is used for the read. Creating the first account, editing the profile and setting a local sign-in secret are session-only and refuse with SESSION_REQUIRED before any request or read; use the gateway dashboard.

Every command also takes the global flags and reads the environment variables that the command reference lists once.

Commands#

CommandDescriptionType
tdx profile showRead your gateway account profile.Read
tdx profile identitiesList single sign-on identities linked to your account.Read
tdx profile createCreate the first gateway account (dashboard only).Dashboard only
tdx profile editChange your gateway account display name (dashboard only).Dashboard only
tdx profile passwordSet or change your local sign-in secret (dashboard only).Dashboard only

tdx profile show#

Read your gateway account profile.

Reads

Reads GET /control/v1/profile for the credential in use; any authenticated principal may read its own. kind is master, management_key or user. master: accountsExist and breakGlass. management_key: id. user: id, the user view (as users show reads it), localSignInSet (the gateway's hasPassword: whether a local sign-in secret is set), localSignInAllowed (the gateway's mayHoldPassword), lastSsoSignInAt and stepUpUntil (null for a bearer, which has no sign-in session). Fields that do not apply to kind are null. This is your gateway account profile, not the local connection profile that the global --profile flag or TOKEDEX_PROFILE selects and auth login/logout manage; --profile only chooses which saved local credential is used for the read. 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. kind is printed as the CLI's own validated literal. 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.

Shell
# GET /control/v1/profile
tdx profile show [flags]

Output fields (inside data)

FieldTypeDescription
kindstringMaster, management_key or user.
idstring|nullAdmin key id or user id; null for master.
accountsExistboolean|nullMaster: whether any gateway account exists.
breakGlassboolean|nullMaster: whether this credential is break-glass.
userpublic-user|nullUser: id, names, email, status, origin, creator, manageability, role assignments, last sign-in and linked identities.
localSignInSetboolean|nullUser: whether a local sign-in secret is set.
localSignInAllowedboolean|nullUser: whether this account may hold a local sign-in secret.
lastSsoSignInAtstring|nullUser: last single sign-on time.
stepUpUntilstring|nullUser: end of the recent sign-in window; null without a session.

Examples

Read the masked public projection as versioned JSON:

Shell
tdx profile show --json

Select declared output fields:

Shell
tdx profile show --json=kind,id

See also: tdx profile identities

tdx profile identities#

List single sign-on identities linked to your account.

Reads

Reads GET /control/v1/profile/identities: the linked single sign-on identities of your own gateway account. Only a person has identities: a user principal, including a personal access token. The gateway refuses master keys and admin keys (FORBIDDEN, exit 4). This is your gateway account profile, not the local connection profile that the global --profile flag or TOKEDEX_PROFILE selects and auth login/logout manage; --profile only chooses which saved local credential is used for the read. 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.

Shell
# GET /control/v1/profile/identities
tdx profile identities [flags]

Output fields (inside data)

FieldTypeDescription
identitieslinked-identity[]Id, provider id and display name, issuer host, link time and whether the provider is authoritative.

Examples

Read the masked public projection as versioned JSON:

Shell
tdx profile identities --json

Select declared output fields:

Shell
tdx profile identities --json=identities

See also: tdx profile show

tdx profile create#

Create the first gateway account (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/profile is session-only: the gateway creates the first account only from the master key's own interactive dashboard session. 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. This is your gateway account profile, not the local connection profile that the global --profile flag or TOKEDEX_PROFILE selects and auth login/logout manage; --profile only chooses which saved local credential is used for the read.

Shell
# POST /control/v1/profile
tdx profile create [flags]

See also: tdx profile show, tdx open

tdx profile edit#

Change your gateway account display name (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: PATCH /control/v1/profile is session-only: only a person's own interactive dashboard session may change their profile. 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. This is your gateway account profile, not the local connection profile that the global --profile flag or TOKEDEX_PROFILE selects and auth login/logout manage; --profile only chooses which saved local credential is used for the read.

Shell
# PATCH /control/v1/profile
tdx profile edit [flags]

See also: tdx profile show, tdx open

tdx profile password#

Set or change your local sign-in secret (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/profile/password is session-only: only a person's own interactive dashboard session may set it, and secrets are never accepted as command input. 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. This is your gateway account profile, not the local connection profile that the global --profile flag or TOKEDEX_PROFILE selects and auth login/logout manage; --profile only chooses which saved local credential is used for the read.

Shell
# POST /control/v1/profile/password
tdx profile password [flags]

See also: tdx profile show, tdx open