Skip to main content
POST
Import/reference an existing provider-native credential source

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
fromClaudeCode
boolean

Reference the default Claude Code OAuth profile

fromCodexHome
string

Reference a Codex CODEX_HOME profile

label
string

Human label that does not contain secrets

managedRefresh
boolean

Allow future provider-specific refresh/write-back

provider
string

Runtime provider id

Response

Success — body conforms to the @Returns schema.

credential
object
required
{key}
any