Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
CLICommands

orl provider provisioning-token create

Generate a provisioning token (provider only), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.

orl provider provisioning-token create

Mints a provisioning token for enrolling nodes and returns its secret, shown only once. A persistent token enrolls any number of nodes for 24 hours. An interruptible token (class interruptible) lives 30 days and enrolls at most maxEnrollments nodes. A legacy API key needs clusters:write.

Flags

FlagTypeRequired
--classpersistent, interruptiblenoNode class. persistent: a provider host we schedule VMs or pods on (the default). interruptible: a provider-owned GPU container that can be reclaimed at any time, onboarded with the interruptible bootstrap.
--max-enrollmentsintnoInterruptible only: the most nodes the token may enroll. Default 64.
--namestringno
--notice-secondsintnoInterruptible only: the reclaim notice your market gives, in seconds. Default 30; 0 means none.
--bodystringnoa JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"}
--body-filestringnoread the --body JSON object from a file (- for stdin)

This wraps the generateProvisioningToken API operation.

On this page