CLI
The IBEE CLI (ibee) lets you manage your cloud resources from the terminal. It’s built on the Python SDK, so every command maps directly to an API endpoint.
Install
Requires Python 3.10+. This installs the ibee command.
Authenticate
Create an API token in the portal under Settings → API Tokens, then set two environment variables:
Both can also be passed per command with --token and --workspace.
The CLI exposes billing eligibility as an explicit command; create commands do
not run it automatically. For a client-side preflight, give the token
billing.read, run ibee billing eligibility SKU, and continue only when the
decision allows creation. Resource creation still needs the relevant product
write scope and remains subject to the product service’s authoritative billing
check.
Global options
Object storage
ibee buckets create requires an Object Storage region identifier. Use a
region configured for the target environment; a compute site_id or display
name is not accepted.
Secret store
Compute and virtual machines
Create, delete, and power commands return an operation ID. Without --wait,
poll it yourself:
GPU VMs
Networking
Networking uses explicit resource groups, so commands and flags are visible in
shell completion and --help without constructing JSON request bodies.
VPCs
IPs, firewalls, and load balancers
Operations that delete, detach, or release ask for confirmation first. Add
--yes to run them unattended:
Billing eligibility
Before creating a billable resource, you can explicitly check whether billing
permits it. The token needs the billing.read scope; create only when the
result shows allowed. This command is not invoked automatically by other CLI
commands.
JSON output
Add --json to any command for machine-readable output — useful in scripts:
Development environment
Use --dev (or IBEE_ENV=dev) with a ibee_dev_key_... token to target the development gateway:
Related
- Python SDK — the library the CLI is built on
- Authentication
ibee-clion PyPI
