Skip to main content
Contexts represent authenticated sessions scoped to a specific org, tenant, and workspace.

List

dome context list List all contexts in org/tenant/workspace hierarchy. Aliases: ls.

Current

dome context current Show the active context name.
With --format json, the response includes the context name, level, server, and available organization, tenant, and workspace names. Use dome gateway list or dome gateway get for complete Gateway URLs.

Use

dome context use [name] Switch the active context by name, alias, or shorthand.
If the shorthand is ambiguous, an error lists the matching contexts.

Sync

dome context sync Refresh contexts from server memberships. Fetches all org/tenant memberships and creates or updates local contexts with scoped session tokens.

Rename

dome context rename <old> <new> Rename a context.

Delete

dome context delete <name> Delete a context.

Alias

dome context alias <context-name> <alias> Set or remove an alias for a context. Pass two args (context-name and alias) to set an alias. With --remove, pass a single arg (the alias to remove).