Documentation
Context & defaults
Pin a default workspace and account so commands don't need --workspace and --account every time.
Almost every command operates against a workspace and/or an account. Rather than passing
--workspace <id> and --account <id> each time, set them once as your default context.
Set defaults
verentis use workspace <workspaceId>
verentis use account <accountId>
You can also set the default workspace when you create one:
verentis workspace create "My Workspace" --use
Inspect the current context
verentis context # show configured defaults (add --json for scripting)
verentis whoami # identity, account, and publisher
How context is resolved
For any command that needs a workspace or account, the value is resolved in this order:
Explicit flag
--workspace <id> / --account <id> on the command always wins.
Configured default
The value you set with verentis use.
Derived from identity
If neither is provided, the CLI derives it from your signed-in identity where possible (for example, your account, or the workspace an API key is bound to).
Where it's stored
Context and credentials live under ~/.verentis/. Signing keys are stored per name at
~/.verentis/keys/<name>.json.