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

orl authz key-setting update

Set the maximum key lifetime (needs `orl auth login`), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.

orl authz key-setting update --max-key-lifetime-days <max-key-lifetime-days>

Sets maxKeyLifetimeDays, from 0 to 3650, and returns the saved settings. New API keys must expire within that many days; 0 lets keys never expire. Requires a signed-in session.

Flags

FlagTypeRequired
--max-key-lifetime-daysintyesNew keys must expire within this many days; 0 means keys may never expire.
--updated-atstringno
--updated-bystringno
--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 updateKeySettings API operation.

On this page