Skip to main content
POST
Bootstrap the admin runtime context-key. Refuses to run if any live admin context already exists.

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
fromEnv
boolean

Read RAVI_BOOTSTRAP_KEY from env. Imports it as the admin context key when the registry is empty; idempotent if it matches an existing live admin context; fails loud if it conflicts.

label
string

Label for the bootstrap context (default: hostname)

noStore
boolean
default:true

Alias for --print-only (do not write to ~/.ravi/credentials.json)

printOnly
boolean

Print the rctx key without writing it to the credentials file

Response

Success — no @Returns schema declared; payload shape is loose.

The response is of type object.