Computers
Apply secrets
Apply selected vault secrets to an existing Linux computer.
POST
Apply secrets to a computer
Send
{"names":["ANTHROPIC_API_KEY"]} to apply those names from your vault to a running Linux computer. names takes 1 to 50 environment variable names made of letters, digits, and underscores, not starting with a digit, up to 64 characters each. Duplicates are ignored. Workspace values take precedence over account values. This requires write access to the computer’s workspace.
The response contains success, names, restart_required: true, and a message. The values are written to /root/.orgo-secrets.env, which /root/.env, .bashrc, and .profile load. Open a new terminal or restart the agent to load the updated environment. Existing processes keep their current environment. Applications using their own credential files may need to be configured separately.
An invalid names list returns 400. A missing secret returns 404 with { "error": "A requested secret is not available in your vault for this workspace." }. A computer that is not running returns 409; a different operating system returns 422. A failure to write the values on the computer returns 502 with { "error": "Could not apply secrets. Check the computer connection and try again." }. A missing or invalid API key returns 401. An unknown computer returns 404 with { "error": "Desktop not found" }. No access to the computer’s workspace, view-only access, or an API key scoped to another workspace returns 403. A trial computer whose trial has ended returns 402 with { "error": "Choose a plan to continue." }. If Orgo cannot verify the credential because of a server-side fault, such as a database outage, the request returns 503 with { "error": "Service temporarily unavailable. …" } and Retry-After: 5. Retry after that delay; do not rotate the key. Secret values are never included in the response.
Saving or deleting a vault entry does not automatically change computers already running. Deleting a vault entry also does not erase a copy previously installed on a computer.Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Path Parameters
Computer UUID or instance ID.
Body
application/json
Required array length:
1 - 50 elementsAn environment variable name: letters, digits, and underscores, not starting with a digit, up to 64 characters.
Pattern:
^[A-Za-z_][A-Za-z0-9_]{0,63}$