Skip to Content

Namespace macOS

Create the revokable Namespace token that lets Sandcovery run macOS instances on Apple silicon in your own Namespace workspace.

Sandcovery runs Namespace macOS instances in your workspace on a revokable token, which Namespace makes only with its nsc CLI. After nsc login, create a token with only the instance grants Sandcovery uses:

nsc token create --name "Sandcovery" --expires_in 8760h --output token \
  --grant '{"resource_type":"instance","resource_id":"*","actions":["create","destroy","exec","get","list","refresh","resume","suspend","wait"]}' \
  --grant '{"resource_type":"instance/ingress","resource_id":"*","actions":["list","register"]}'

The command prints JSON, and the token is its bearer_token value. Namespace keeps a revokable token at most 365 days, so create a new one before it expires.

  • Instance create, destroy, get, list, refresh, resume, suspend, and wait start, find, extend, and end the instances Sandcovery creates, and exec runs commands and file reads and writes.
  • Instance ingress list and register open the public URL of each port you preview.

Sandcovery runs the 4x7 macOS shape, 4 vCPU and 7 GB, in Namespace's US site. Each command runs in sh in the macOS guest, with Homebrew's and the system's command folders on its PATH unless your command's environment sets PATH. Namespace keeps each instance at most 3 hours on its Developer plan.