Documentation Index
Fetch the complete documentation index at: https://mintlify.com/NVIDIA/OpenShell/llms.txt
Use this file to discover all available pages before exploring further.
openshell policy
Alias:pol
Manage sandbox policies. Network and inference policy sections are hot-reloadable on running sandboxes without a restart.
openshell policy set
Apply or replace a policy on a running sandbox (or gateway-global).Sandbox name. Defaults to the last-used sandbox. Ignored when
--global is set.Path to a policy YAML file.
Apply as a gateway-global policy that overrides sandbox-level policies for all sandboxes. Prompts for confirmation unless
--yes is also set.Skip the confirmation prompt when setting a global policy.
Wait for the sandbox to confirm it has loaded the new policy. Not supported for global policies (global policies are effective immediately).
Timeout in seconds for
--wait.Examples
--wait polls the sandbox until it reports the expected policy revision. Use this in scripts that apply a policy and then immediately run a command that depends on it.openshell policy get
Show the active policy for a sandbox or the gateway-global policy.Sandbox name. Defaults to the last-used sandbox. Ignored when
--global is set.Specific policy revision to retrieve. Defaults to the latest revision.
Print the full policy document as YAML instead of a summary.
Show the gateway-global policy revision.
Examples
openshell policy list
List policy revision history for a sandbox or the gateway-global policy.Sandbox name. Defaults to the last-used sandbox. Ignored when
--global is set.Maximum number of revisions to return.
List gateway-global policy revisions.
Examples
openshell policy delete
Delete the gateway-global policy lock, restoring per-sandbox policy control. Only operates on global policy; per-sandbox policy delete is not supported.Required. Delete the global policy setting.
Skip the confirmation prompt.
Example
Policy behavior
| Section | Reloadable | Applied at |
|---|---|---|
network_policies | Yes — hot-reload on running sandbox | Creation and policy set |
inference | Yes — hot-reload on running sandbox | Creation and policy set |
filesystem | No — locked at creation | Sandbox creation only |
process | No — locked at creation | Sandbox creation only |
policy delete --global restores each sandbox’s own policy.
See Policy Schema for the full YAML format.