oc project to manage projects and oc secret to manage their secrets.
Projects
Create a Project
oc project create
| Flag | Type | Default | Description |
|---|---|---|---|
--name | string | required | Project name (unique per org) |
--template | string | — | Default template for sandboxes |
--cpu | int | — | Default vCPU count |
--memory | int | — | Default memory in MB |
--timeout | int | — | Default timeout in seconds |
List Projects
Get Project Details
Update a Project
Partial updates — only the flags you pass are changed.oc project update
| Flag | Type | Description |
|---|---|---|
--name | string | New project name |
--template | string | New default template |
--cpu | int | New default vCPU count |
--memory | int | New default memory in MB |
--timeout | int | New default timeout in seconds |
Delete a Project
Secrets
Secrets are encrypted at rest and injected as sealed tokens when a sandbox is created with the project. The real values are never visible inside the sandbox — they are only substituted by the MITM proxy on outbound HTTPS requests.Set a Secret
oc secret set
| Argument | Description |
|---|---|
<project-id> | UUID of the project |
<name> | Secret name (becomes the env var name in sandboxes) |
<value> | Secret value (omit if using --from-stdin) |
| Flag | Description |
|---|---|
--from-stdin | Read the secret value from stdin |
List Secrets
Delete a Secret
Creating Sandboxes with Projects
Use the--project flag on oc create to inherit a project’s config and secrets: