How to create a sandbox with a specific duration
Request a specific sandbox lifetime with the create command and understand how partial-hour values are handled.
How to run AWS CLI commands with whzbox exec
Use whzbox exec to run direct commands, shell strings, or a subshell with cached AWS sandbox credentials.
How to use whzbox in non-interactive scripts
Run whzbox safely from automation by relying on cached sessions, JSON output, and explicit non-interactive flags.
How to destroy a sandbox without prompts
Destroy the active sandbox from scripts or other non-interactive environments by using --yes.
How to relocate or inspect the state directory
Override the whzbox state directory for one shell session or inspect the current state file and its permissions.
How to recover from expired sessions or bad local state
Recover from expired tokens, overbroad state-file permissions, or corrupt state-file contents.
How to consume create and list JSON output
Parse the JSON produced by whzbox create and whzbox list, and avoid assuming JSON mode exists everywhere else.