Overview
Organizations are the top-level container for all your RunTools resources. Everything — sandboxes, agents, tools, secrets, API keys, SSH keys — belongs to an organization. When you sign up, you’re prompted to create an organization. All users must belong to at least one organization.How Organizations Work
RunTools uses WorkOS AuthKit for authentication and organization management. This means:- SSO support out of the box (Google, GitHub, SAML, OIDC)
- Organization creation happens during onboarding
- Member management via the WorkOS-powered dashboard
- Role-based access via WorkOS roles
Members and Roles
View and manage team members on the Team page in the dashboard (Dashboard > Organization > Team).| Role | Description |
|---|---|
| Admin | Full access to all resources and settings |
| Member | Create and manage sandboxes, agents, tools |
Projects
Projects are UI grouping within an organization for keeping resources tidy. They don’t affect permissions — all resources are org-scoped.How Projects Work
- Every org has a default project (created automatically)
- Create additional projects from the dashboard sidebar
- Assign sandboxes, agents, API keys, and SSH keys to projects
- Switch between projects in the sidebar to filter resources
- Projects are for organization only — permissions are always org-level
Managing Projects
From the dashboard:- Click New Project in the sidebar to create a project
- Go to Project Settings to rename, change color, or delete a project
- Use the Resource Assigner (drag-and-drop) to bulk-assign resources to projects
API Keys
API keys authenticate programmatic access to the RunTools API. They are org-scoped.Creating API Keys
Go to Dashboard > Credentials > API Keys, or use the CLI:Key Format
| Prefix | Environment |
|---|---|
rt_live_ | Production |
rt_test_ | Testing |
Scopes
| Scope | Access |
|---|---|
* | Full access (default) |
sandbox:* | All sandbox operations |
agent:* | All agent operations |
template:* | Template management |
ssh-key:* | SSH key management |
billing:* | Billing access |
SSH Keys
SSH keys enable secure access to sandboxes. Register a key once, and it’s available for all sandboxes in your org.Secrets
Centralized secrets management for provider API keys, tool credentials, and custom secrets.- Encrypted at rest with AES-256-GCM
- Never exposed in API responses (only metadata, never values)
- Auditable — reveal operations are logged
- Org-scoped — shared across all projects
Authentication Methods
RunTools supports two authentication methods:1. WorkOS Session (Dashboard & CLI)
When you log in via the dashboard orruntools login, you get a WorkOS JWT that includes your user ID and organization. The CLI uses device flow authentication (opens browser, polls for completion).
2. API Key (SDK & Programmatic)
For programmatic access, use an API key:Best Practices
Use projects to organize resources
Use projects to organize resources
Group related sandboxes, agents, and tools into projects. This keeps your dashboard clean as you scale.
Use scoped API keys
Use scoped API keys
Create keys with only the permissions needed. Don’t use full-access keys in production services.
Store credentials as secrets
Store credentials as secrets
Use the secrets system for API keys and tokens instead of hardcoding them. Secrets are encrypted at rest and auditable.
Register SSH keys for your team
Register SSH keys for your team
Each team member should register their SSH key. This enables passwordless SSH access to all sandboxes.