Concepts
Workspaces
Workspace-scoped Harbor state, membership, sources, and runtime execution.
A workspace is the unit of Harbor ownership: members, sources, credentials, runs, Functions, Apps, and policy all belong to a workspace.
CLI workspace state
The public CLI does not expose separate workspace subcommands. Inspect the current workspace and available workspaces through hrbr inspect:
hrbr inspect 'return await hrbr.workspace.current()'
hrbr inspect 'return await hrbr.workspace.list()'
hrbr inspect 'return await hrbr.workspace.switch({ target: "acme-team" })'Use dashboard or SDK/admin flows for invites, member management, and workspace creation.
What belongs to a workspace
- Members and roles
- Installed sources and credentials
- Tool discovery indexes
- Runs, traces, and artifacts
- Published Functions and Apps
- Triggers and policies
Runtime boundary
hrbr exec runs against the currently selected workspace. Shape your inspect result first so you know which workspace, sources, and tools are active.