Skip to main content

Workspaces & Members

Manage workspaces, member permissions, and API Keys.

A workspace is the basic unit of resource isolation. One Alibaba Cloud account can host multiple workspaces, each with its own Knowledge Bases, API Keys, and member permissions.

Workspaces

ConceptDescription
WorkspaceResource isolation unit, formatted as llm-xxxxxxxxxxxx.
Default workspaceThe account's default workspace, marked as "Default."
LimitUp to 30 workspaces per account.

Create a workspace

On the Settings & Billing → Workspaces tab in the console, click New Workspace and enter a name.

Switch workspaces

Use the dropdown in the top-right corner of the console to switch the current workspace. After switching, the Knowledge Base list and API Keys in the left navigation update accordingly.

Members and permissions

RolePermissions
Alibaba Cloud root accountFull access.
RAM sub-accountMust first be granted AliyunBailianDataFullAccess and added to the target workspace.

Add a member

On the Settings & Billing → Members & Permissions tab, click Add Member and enter the RAM username or UID.

API Key management

API Keys are the credentials for calling the API, isolated per workspace.

Create an API Key

On the Settings & Billing → API Key tab, click Create. The key is shown only once — store it safely.

Security recommendations

RecommendationDescription
Keep out of source controlStore in an environment variable (such as DASHSCOPE_API_KEY).
One key per applicationUse a separate API Key for each application.
Rotate regularlyReplace API Keys periodically to limit exposure.
API Keys carry account-level permissions — a leaked key can be abused and rack up charges. Don't share them publicly or commit them to a repository.

Relationship with Alibaba Cloud Model Studio

The RAG Knowledge Base shares the Alibaba Cloud account and workspace system with Alibaba Cloud Model Studio:
DimensionDescription
AccountSame Alibaba Cloud root account.
WorkspaceShared — visible on both platforms.
Knowledge BaseShared — manageable from either side.
API KeyShared — one set of DashScope keys.